Page 1 of 1

Schedule job in director every hour without instances

Posted: Thu Jun 16, 2005 12:35 pm
by vinaymanchinila
Hi,
I am trying to schedule 8 jobs every hour and is there a workaround of doing this in the DS Director without whole lot of instances filling up the director!
Thanks,

Posted: Thu Jun 16, 2005 12:53 pm
by Sainath.Srinivasan
You need to create a sequencer or batch control job.

Before that you need to ensure that they will finish within the hour.

Posted: Thu Jun 16, 2005 12:56 pm
by vinaymanchinila
but these 8 jobs run at different hours like one at every hour starting at 7 , other at 8.30 ...so on!

Posted: Thu Jun 16, 2005 1:58 pm
by chulett
Just take each job and 'Add to Schedule' multiple times.

Posted: Thu Jun 16, 2005 4:05 pm
by Sainath.Srinivasan
Craig's idea is the best if you cannot code batch control and include the timings as parameters.

Otherwise, you can also include them as cron entries.

Posted: Thu Jun 16, 2005 4:28 pm
by vinaymanchinila
I have just added each job multiple times even though they look like lot of jobs !
Thanks guys.

Posted: Thu Jun 16, 2005 5:58 pm
by kduke
I would reuse the instance ids every other hour or every 3 hours then you do not have a lot of instances ids.

Posted: Fri Jun 17, 2005 7:24 am
by vinaymanchinila
Hi Duke,
Thats a great idea, how do I find the instance id and reuse it?
Thanks,

Posted: Fri Jun 17, 2005 7:29 am
by chulett
What happened to "Schedule job in director every hour without instances"? :wink:

Posted: Fri Jun 17, 2005 7:36 am
by anupam
You can have 1 additional parameter say InstanceId and that parameter can be reused every 3 hours or every day as the Instance number/ Invocation Id for the Job.

This InstaceId would be passed while running the Job. if you have to run Job 8 times a day, then you may choose say from 1 to 8 as the IntanceId or you can choose the Hour of run as the InstanceId and pass it to Job.

At any point in time the max number of Instances filling the director would be 8.

Posted: Fri Jun 17, 2005 7:43 am
by vinaymanchinila
Hey Craig,
Just trying to cut the instances down atleast and we are planning to go for Control-M scheduler!

Posted: Fri Jun 17, 2005 12:57 pm
by kduke
Control-m wouild make this a lot easier.