how can I make daily and monthly jobs interdependent

Tools and several solutions to manage Control-M products
Post Reply
User avatar
sandeep5
Nouveau
Nouveau
Posts: 1
Joined: 30 Jan 2010 12:00

how can I make daily and monthly jobs interdependent

Post by sandeep5 » 30 Jan 2010 12:27

Hi,

Could you please let me know that is it possible using CONTROL-M scheduler that my daily jobs (scheduled) and monthly jobs (scheduled again) be interdependent to each other. These jobs use the same code and I do not want to run daily job when its monthly counterpart is running and vise versa. These jobs run on Unix platform

I really appreciate your help.

Thanks

Sandeep

User avatar
midland13
Nouveau
Nouveau
Posts: 2
Joined: 30 Jan 2010 12:00

Post by midland13 » 30 Jan 2010 4:14

Sandeep5,
There are a couple different ways to do this.
1)Make your daily job a conditional predecessor to your monthly job. The downside is that the daily job must run before the monthly job can run.

2)Add a CONTROL state to each and make it exclusive. For example-
DAYMONTH E. This will prevent them from running with each other.

Hope this helps,
midland13

User avatar
omahaab
Nouveau
Nouveau
Posts: 3
Joined: 10 Feb 2010 12:00

Post by omahaab » 10 Feb 2010 6:21

You could use a quantitative resource on both the daily and the monthly job.
Tools>Quantitative Resources - create a resource and then add it to both
jobs on the resources tab. For example in the future you add a quarterly run in the future you can add the resource to that job, too.

User avatar
gglau
Nouveau
Nouveau
Posts: 317
Joined: 13 Jun 2007 12:00

Post by gglau » 10 Feb 2010 11:01

I agree with midland13 that exclusive control resource can do the trick. It is the simplest way to guarantee multiple jobs not executing together. This is a Control-M feature therefore independent of agent platform.

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 11 Feb 2010 10:05

daily jobs (scheduled) and monthly jobs (scheduled again) be interdependent to each other. These jobs use the same code and I do not want to run daily job when its monthly counterpart is running and vise versa.
I understand the question as a schedule problem:
the same job and code. One than run all days and the other only once a month. When there is one there isnt the other.
If this is the question you can work on the schedule panel excluding the month job day from the schedule of the daily job.
Or I've miss-understanding ?

Post Reply