Configuring Trigger for Job Dependency - VisualCron - Forum

Community forum

sbandy
2013-11-27T01:20:57Z
I'm trying to configure a Job B which is dependent on successful completion of Job A.

I added a Event Type Trigger for Job B, and selected VisualCron in Main Settings, and from VisualCron tab, selected "Job Completed Successfully" and Job as "Job A".

Problem is this:

When I first kick off both jobs on different times(Job A at 8:02 pm, Job B at 8:00 pm), Job B waits till Job A completes successfully, and then Job B runs.

After the 1st iteration, if I reschedule the Jobs (Job A at 8:32 pm, Job B at 8:30 pm), Job B does not wait, but runs immediately.

I think the reason is - Job A's Result does not reset from the "Success" value from the 1st run, and in the 2nd run, the criteria is met immediately.

How can I resolve this issue?

Support
2013-11-27T10:39:46Z
I am not sure I understand. It should always kick of at completion of first Job (if you use that Trigger).

Why do you schedule Job B at all? It should not be scheduled as you are already using a Trigger (VisualCron Trigger->Wait for completion).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sbandy
2013-11-27T15:21:43Z
Thanks Henrik.

So, if I schedule Job A everyday at some time say 8:00 pm, then will Job B fire everyday after Job A completes successfully?
Support
2013-11-27T15:28:28Z
Originally Posted by: sbandy 

Thanks Henrik.

So, if I schedule Job A everyday at some time say 8:00 pm, then will Job B fire everyday after Job A completes successfully?



Yes, exactly.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top