Scheduler Usage
http://scheduler-usage.com/

Cyclic Jobs. Is there a max run no
http://scheduler-usage.com/viewtopic.php?f=8&t=16408
Page 1 of 1

Author:  DreamBig [ 30 Jan 2019 12:42 ]
Post subject:  Cyclic Jobs. Is there a max run no

I have a job that will need to run every 5 mins almost all day.

Is there a limit to the number of times a job can run without breaking.

If I need to break it up into two or three consecutive jobs, say 200 each, I can do that.

Anyone know for sure?

Author:  fyot [ 19 Feb 2019 8:19 ]
Post subject:  Re: Cyclic Jobs. Is there a max run no

Hi

Try to use Autoedit variable as %%CPT and %%RUNCOUNT
Search "consecutive failure", wou will have several solution.

And add a break and restart is not an existing function, but, there is an idea.
Add %%BREAK variable at the begenning of your COMMAND Line
%%BREAK must be defined in the job and empty.
But after your RUNCOUNT value to break, fill %%BREAK with "echo "
And to start again, clean variable.

Effect will be : Job will start at every cycle, but command will be execute only when %%BREAK will be empty.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/