- Newest
- Most votes
- Most comments
Thanks for you response. Yes the intention is to run multiple commands. It does not need to be in inside ( ). I have verified this. It inly needs to be separated out with semi-colon. And I was able to find the problem. The command was failing with some environment variable settings and it is good now. It wasn't a issue with yarn command or cron. Thanks again for responding.
The command mentioned above hadoop date;yarn
looks incomplete. Can you please share an example of what you are trying to do?
If the intention is to run multiple commands in a cron you can surround the semicolon separate commands inside a (
)
, for example */1 * * * * (hadoop version;yarn version)
. I hope this answers your question, if not please share more details on the use case and I'll be happy to assist you.
Relevant content
- asked a year ago
- asked 8 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 3 months ago