Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


matrixIII
2012-01-10T20:51:17Z
Job_A is scheduled at 2pm and Job_B is scheduled at 3pm. When Job_B starts I want to check if Job_A run was successful, if not then have VisualCron interface show failed for Job_B (so someone can fix it).

So, I created a condition that checks if Job_A returned with a zero status code (success). And then enabled the condition in Job_B. Now, when Job_B starts to run it skips over the run (skipping all the task) but reports as a success. Is there a way to have Job_B status in the VisualCron interface show as failed? Also, the logs does not indicate a condition failure.

I am running version 5.7.2
Sponsor
Forum information
Support
2012-01-11T08:12:27Z
That is not possible right now. The workaround, which may not be so nice, is to let the Condition run a Task that fails in some way if Job has failed.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
matrixIII
2012-01-11T16:06:18Z
Originally Posted by: Support 

That is not possible right now. The workaround, which may not be so nice, is to let the Condition run a Task that fails in some way if Job has failed.



That may work as a workaround.. How do I fail a task in Job_B if Job_A has failed? I mean what can I do in the Job_B task to check if Job_A has failed and fail the task?

Thanks
Support
2012-01-11T16:14:26Z
Perhaps you can set Variables at end of your Tasks and later check them with a Variable Condition?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Users browsing this topic
Scroll to Top