It is currently 22 Aug 2017 2:54


Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 03 Mar 2015 6:46 
Offline
Nouveau
Nouveau
User avatar

Joined: 02 May 2011 12:00
Posts: 15
If I have a job that runs every 5 minutes pending the completely of a previous run, is there a way to put a time limit on the job? We've had situations where a client server application has had an outage, but the CM job running against that application at the time of the outage shows "currently running" in the sysout, and will remain that way until it's manually killed. That creates a business problem since these need to run every 5 minutes.

Any way to get around this?


Top
   
PostPosted: 05 Mar 2015 7:47 
Offline
Nouveau
Nouveau
User avatar

Joined: 21 Sep 2013 12:00
Posts: 48
how about using the tolerance option

_________________
Anirudh


Top
   
PostPosted: 18 Mar 2015 4:29 
Offline
Nouveau
Nouveau
User avatar

Joined: 13 Nov 2007 12:00
Posts: 76
Location: Hyderabad
Hi

You could send an outage if the job is running longer than expected time to send a SHOUT to a script on Control-M server which in turn runs a ctmkilljob utility . Please note you could also pass order id as parameter in SHOUT .

usage: ctmkilljob
[ -ORDERID <unique order ID> ]
[ -NODEID <name> ]
[ -MEMLIB <path> ]
[ -MEMNAME <filename> ]
[ -JOBNAME <name> ]

Thanks
Sharas


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 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