hi, hopefully a straight forward one...
I have a job that I want to add a condition to - to prevent it from running unless another job has completed successfully.. *today*
I can see how to add a Visual Cron job as a condition - but that only lets me check the exit status of the job. If the job completed successfully but yesterday that needs to be a failure condition for me.
I can see how to add a variable as a condition, and access the last executed date of the job I want to check, but I'm not sure how to compare it to a time (I was thinking to check last execute date > midnight), so I could then combine it with the condition with the exit status of the job.
Can anyone help on this?
Edited by moderator
2016-09-13T07:37:38Z
|
Reason: Not specified