Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

controlM scheduler on linux

Status
Not open for further replies.

wiskdb43

Programmer
Jun 12, 2014
1
0
0
US
Hi,
Can someone explain if controlM can delay our batch job process after each one completes. We want a delay after each job before next sequential job starts we have a string of 20 jobs! Should we be using the script to delay process? many thxs!
 
If the controlM processes are handled with a crontab as the scheduler you can set the increment for when you wish the job sequence to fire.

Example

Run the follow command at 4am and the next a 4:30am every day.

0 4 * * * /command
30 4 * * * /command


I.T. where a world of choas and confusion comes down to nothing but 1s and 0s.
 
You can create a small job that does nothing but wait (man sleep). Add it to the sequential job stream between each process. To get fancy, you can pass the amount of time to sleep as a parameter, that way you can adjust it from ControlM without touching the script.

Actually, ControlM can execute commands, not just scripts, so you could just have it call the "sleep" command directly. Again, just insert this between each batch job in the sequential job stream.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top