It is currently 18 Mar 2019 4:49


Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 30 Jan 2019 12:42 
Offline
Nouveau
Nouveau

Joined: 27 Jan 2019 3:07
Posts: 6
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?

_________________

Maximize The Usage Of The Scheduler



Top
   
PostPosted: 19 Feb 2019 8:19 
Offline
Nouveau
Nouveau
User avatar

Joined: 26 Apr 2005 12:00
Posts: 731
Location: PARIS
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved