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.


rmeeusen@partena.be
2011-08-12T12:11:08Z
How can I create a job that is dependent on other job(s) and time for ex. Job A linked to job B. Job B must be started at 18:00 (or later), but only when job A is finished. If job A is not already done, job B must wait for it.

How to create 2 predecessors for 1 single job. For example job A and job B must be completed before job C may start. When job A and B are finished, job C must be triggerd to start.

thanks,

Ronny
Sponsor
Forum information
Support
2011-08-15T21:45:14Z
There are a couple of ways. One way is to use the VisualCron event Trigger. In that event Trigger you can set to wait for a specific Job to complete. You add this Trigger to the second Job.

The other way is to, in the end of the first Job, use the Run Job/Task control Task to start the second Job.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
rmeeusen@partena.be
2011-08-16T05:21:56Z
yes, that is wat I already know. But with this it is only possible to wait for 1 job. I have to wait for 2 jobs. Because multiple trigger events don't have any relation between the triggers, I can't define a situation 'wait for job A and B'.

Any idea's?

thanks,

Ronny
Support
2011-08-16T06:31:28Z
If you need to wait for 2 Jobs you currently need to implement that yourself. You could create a file, database value, Variable that is set when both has been run.

Easiest would be to create a Variable as an Int and increase it each time one Job has been run. Then create a Condition on the third job you want to start to check for the Variable - if it is value 2 for example. If yes, then you first want to reset it to 0 and then run the following Tasks. You still use the VisualCron Trigger set to look at both Job 1 and 2 but the Job 3 will only be run when the condition is met.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2012-04-03T08:59:45Z
Please test this version with multiple Trigger support:

http://www.visualcron.co....aspx?g=posts&t=2370 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top