Without having to define a unique Calendar is there anyway I can schedule a job to run every 2nd Friday.
I'm trying to minimise the volume of calendars we maintain as is getting out of hand.
Thanks
Scheduling a job every 2nd Friday
It doesn't look right at all to me but I'll give you the benefit of the doubt and build a dev job to test it. Here's hopingajith_eee wrote:Hi
Use D08,D09,D10,D11,D12,D13,D14 in Month days and Friday in Week days and use "AND" between them.
This should work. Someone correct if this is wrong.
Thanks
Ajith
Thanks
- rahulsehgal
- Nouveau
- Posts: 148
- Joined: 19 Mar 2009 12:00
- Location: Delhi
- Contact:
RUNNING A JOB EVERY 2ND FRIDAY
The above selection will enable you to run a job on the 2nd Friday of the month. But it looks to me like you want to run a job every 2nd Friday, i.e., every fortnight.
If you wish to do this, you need to define a calendar. But you can define one calendar to cover all fortnightly jobs. Just create a periodic calendar called FORTNIGHT. Every 2nd week should be period A and every other week should be period B.
Then your fortnighly jobs should be defined to run on weekdays calendar FORTNIGHT. To run every 2nd Friday, use either D5PA or D5PB, depending on which week you want your jobs to run. To run, for instance, every 2nd Tuesday, use D2PA or D2PB.
So you need a calendar, but it is a simple calendar to cover all fortnightly jobs.
If you wish to do this, you need to define a calendar. But you can define one calendar to cover all fortnightly jobs. Just create a periodic calendar called FORTNIGHT. Every 2nd week should be period A and every other week should be period B.
Then your fortnighly jobs should be defined to run on weekdays calendar FORTNIGHT. To run every 2nd Friday, use either D5PA or D5PB, depending on which week you want your jobs to run. To run, for instance, every 2nd Tuesday, use D2PA or D2PB.
So you need a calendar, but it is a simple calendar to cover all fortnightly jobs.
Re: RUNNING A JOB EVERY 2ND FRIDAY
I've creatd a unique calendar in the end. Cheers for the advice.brownbag wrote:The above selection will enable you to run a job on the 2nd Friday of the month. But it looks to me like you want to run a job every 2nd Friday, i.e., every fortnight.
If you wish to do this, you need to define a calendar. But you can define one calendar to cover all fortnightly jobs. Just create a periodic calendar called FORTNIGHT. Every 2nd week should be period A and every other week should be period B.
Then your fortnighly jobs should be defined to run on weekdays calendar FORTNIGHT. To run every 2nd Friday, use either D5PA or D5PB, depending on which week you want your jobs to run. To run, for instance, every 2nd Tuesday, use D2PA or D2PB.
So you need a calendar, but it is a simple calendar to cover all fortnightly jobs.