Closed nsoria1 closed 5 years ago
Somewhere in the run
method of the Job
subclass you are using. For example, in the sample jobs, you would need to do something with the return value of the call
function:
https://github.com/Nextdoor/ndscheduler/blob/master/simple_scheduler/jobs/shell_job.py#L24
Hi team, thanks for sharing this tool.
I would like to know where should I modify the python code to evaluate the status code from shell scripts to make it fail if it is different than zero.
Thanks! Nicolas.