Hello,
I'm evaluating VisualCron as a replacement for the stock Windows scheduler specifically because I needed a product that would handle job dependencies. However, I'm having problems getting this to work. I'm assuming it's my lack of knowledge and I can't get my setup to work despite reading the docs.
The following is my simple test case.
I have two batch files:
failure.bat - It contains the single line.
exit /b 1
success.bat - It contains the single line.
exit /b 0
I created two jobs in VisualCron each with one task. An "Execute" that runs this batch file. When the job failure.bat runs its result is "Success" even though the task is configured to raise an error on a non-zero exit status. This isn't what I expected. I thought the job would fail. What's the correct behavior?
If I succeed in getting this job to "Fail" I'd like the success.bat job to NOT run if the failure.bat has failed. I tried to setup this job dependency using conditions but that hasn't worked either.
The condition I've setup on the success.bat job is a VisualCron condition that checks the failure.bat job. I "Match" if the Exit Code Is Not 0. For the condition action all are "Don't Wait" and "Exit".
This isn't working either. Can VisualCron support what I'm trying to implement? If so can someone provide some guidance? I apologize for the long email however, I'm trying to reduce the back and forth by providing as much detail as possible.
Thanks,
Jay