Calendar: Run job every two weeks only

All questions about Control-M jobs definitions
Post Reply
User avatar
bsglover
Nouveau
Nouveau
Posts: 14
Joined: 01 Dec 2011 12:00

Calendar: Run job every two weeks only

Post by bsglover » 08 Oct 2012 11:21

I need to create a job which will have to be run every two weeks on Sunday, is there any way to set correctly the execution without create an own specific calendar using only the "rules"?

Thanks in advance.

User avatar
bsglover
Nouveau
Nouveau
Posts: 14
Joined: 01 Dec 2011 12:00

Post by bsglover » 08 Oct 2012 11:39

Solved it!

I just check:
Month days: from day 1-7
from day 15-21
from 29-31
Connected though "AND"

Week days: only sunday

Now it works!

Janctm

Post by Janctm » 15 Oct 2012 2:33

I think it doesn't work.

I your case it runs
- 2 december (2 weeks later)
- 16 december (2 weeks later))
- 30 december(2 weeks later))
- 6 januari 2013 and this is 1 week after 30 december!

User avatar
brownbag
Nouveau
Nouveau
Posts: 161
Joined: 11 Oct 2007 12:00
Location: Melbourne

FORTNIGHTLY JOB

Post by brownbag » 16 Oct 2012 1:40

I know you don't want to create a calendar but at least this method uses one simple calendar for any fortnightly job. Create a periodic calendar called FORTNIGHTLY with Periods A and B. A and B both cover one week and it is a simple repeating pattern of A, then B, then A, then B, etc.
Then you can create a job and use the weekdays tab to run on Day 0 of Period A (D0PA) or Day 0 of Period B (D0PB), depending on which week of the fortnight you wish to run the job in.

Post Reply