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


JayP79
2018-06-27T18:12:35Z
Hello,

Running into a setup issue here. Any help is appreciated.

I have Job A that runs daily, M-F

I have just set up Job B, that needs to run on successful completion of Job A, but ONLY on Wednesdays.

I have set up for Job B:
- Trigger: VisCron. Successful Completion of Job A
- Trigger: Time Interval. Wednesdays
Both triggers are active.

Will this do it? I see a Dependencies option in the Triggers, but I'm not certain this will make both triggers dependent on each other. What am I missing to be sure this executes correctly?
Sponsor
Forum information
JayP79
2018-06-27T20:02:14Z
As a workaround, for now, I created a Job C that I called the "Activator". This Job runs every Wednesday, and has a trigger set to Activate Job B. Once Job B is activated, it waits until Job A is compete, then runs, then has a final task set to deactivate itself(Job 😎. Repeats next Wednesday.
Support
2018-06-28T06:57:14Z
I think easiest way is to not use any Trigger on Job B. But add Job/Task control in Job A that launches Job B as last Task. But in the Flow tab of previous Task in Job A you can just check date Variable if it is Wednesday before launching. Look at this Variable: {DATEFORMAT(dddd)}

You just compare value in Flow with this Variable before launching.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top