 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
operator
Joined: 10 Jun 2014 Posts: 3 Country: United States |
|
Job execution by semaphore and schedule? |
|
I am putting several unix script jobs into our scheduler (Multiplatform running on Solaris) and our current process requires both predecessor success as well as a time constraint before executing.
That is:
JobA runs if 19:00
JobB runs if 19:30 AND JobA.done is present
Assume that creating new or changing old scripts is not possible... Is it possible to set it up this way from the 24x7 web console?
|
|
Tue Jun 10, 2014 5:39 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
There are many options available, the most simple is the following
JobA runs if 19:00
JobB_time_trigger runs if 19:30, does nothing
JobB has semaphore based schedule. Use the job dependencies editor to link it to jobA and jobB_time_trigger.
That's it.
|
|
Wed Jun 11, 2014 12:50 am |
|
 |
operator
Joined: 10 Jun 2014 Posts: 3 Country: United States |
|
|
|
I suspected I might need the Dependencies Editor after reading another post. I will investigate that route.
Thank you.
|
|
Wed Jun 11, 2014 10:46 am |
|
 |
operator
Joined: 10 Jun 2014 Posts: 3 Country: United States |
|
|
|
So, I tried creating the jobs as Scheduled, and then used the Dependencies editor to link them.
It essentially, completely ignored all scheduling except for the very first job and failed to run 90% of the others.
I need JobB to execute when JobA=Done AND Date=19:30. I don't see the editor as allowing this. What would be another way?
|
|
Mon Jun 16, 2014 6:25 pm |
|
 |
barefootguru
Joined: 10 Aug 2007 Posts: 195
|
|
|
|
Job A runs at 1900, Job B runs at 1930, Job C runs when both Job A and Job B complete.
:-)
|
|
Tue Jun 17, 2014 4:08 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|