Community forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Offline JayP79  
#1 Posted : Wednesday, June 27, 2018 7:12:35 PM(UTC)
JayP79

Rank: Paid support

Joined: 12/27/2017(UTC)
Posts: 2
United States
Location: Illinois, Chicago

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?

Edited by moderator Tuesday, July 3, 2018 1:35:44 PM(UTC)  | Reason: Not specified

Offline JayP79  
#2 Posted : Wednesday, June 27, 2018 9:02:14 PM(UTC)
JayP79

Rank: Paid support

Joined: 12/27/2017(UTC)
Posts: 2
United States
Location: Illinois, Chicago

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 B). Repeats next Wednesday.
Offline Support  
#3 Posted : Thursday, June 28, 2018 7:57:14 AM(UTC)
Support

Rank: Official support

Joined: 2/23/2008(UTC)
Posts: 10,819

Thanks: 821 times
Was thanked: 412 time(s) in 391 post(s)
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!
Users browsing this topic
Guest (2)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.164 seconds.
Scroll to Top