Page 1 of 1

How to schedule a job ones in the two weeks

Posted: 07 Jan 2013 7:27
by Janctm
I want to schedule a job ones in the two weeks and i wonder if this in possible without using a (periodic) calender.

I am working with controlm 6.2

Posted: 11 Jan 2013 9:40
by mauriziog
I dont understand the schedule you want, can you explain better please?

Posted: 23 Jan 2013 1:55
by Janctm
Job must run one time in the two weeks. for instance:
on sunday
6 jan
20 jan
3 feb
17 feb enz

Posted: 24 Jan 2013 2:21
by Danny
I don't see any other reasonable way then working with calendars.

You could run the job everyday, and check in the job if (following your example) the day-6/14 is a natural number, and run the rest of the script if that is the case..

Posted: 24 Jan 2013 5:16
by nicolas_mulot
Janctm,
Ther is a possibility of a script-based solution. Pls check your private messages on that forum

Cheers
Nicolas Mulot

legal recruiter

Posted: 15 Mar 2013 10:49
by Bentoges
Great piece of writing!
I am confident this is going to help a lot of community.

schedule job to run once in two weeks

Posted: 03 Jul 2013 9:20
by shareef
any script to schedule job once in two weeks and it should run on saturday only

Scheduling once every 2 weeks per month

Posted: 09 Jul 2013 6:47
by frankp
Hi you can try using the rules functionality combined with a Sunday calendar (even though you don't want to use a calendar) in the Month Days section. Create a calendar and add all Sunday days for each month and select it in the Calendar field of the job definition to use it. Next in the rules field of the job definition select the weeks you don't want to order using -Dn separated by commas and no spaces.

Example:

-D1,-D3,-D5 Rules
Calendar: Sunday

Result will order on 2nd and 4th Sunday of each Month. Effectively once every two weeks. I've used this functionality in version 7 just recently and I believe rules functionality was available back in v 6.2. Hope this helps with an alternate idea!

Frank
http://www.gssinfotech.com/services/inf ... rol-m.html

Posted: 17 Jul 2013 12:15
by Vishal
@frankp : The scheduling you told would work if I want to run the job on 2nd and 4th Sunday but it is no good if I want the job on alternate Sundays or once in 2 weeks.