xenon-middleware / xenon-cli

Perform files and jobs operations with Xenon library from command line
http://nlesc.github.io/Xenon/
Apache License 2.0
2 stars 3 forks source link

Add wait command #38

Closed sverhoeven closed 7 years ago

sverhoeven commented 7 years ago

When scripting with Xenon CLI it is handy to have a command that waits for a certain job identifier to be completed.

Usage:

xenon scheduler slurm wait <job identifier>

It should have exit code 0 when everything went OK, or >0 when something went wrong.