Every day EXCEPT first sunday.

All questions about Control-M jobs definitions
Post Reply
User avatar
Saint_ago
Nouveau
Nouveau
Posts: 13
Joined: 27 Sep 2011 12:00
Location: São Paulo

Every day EXCEPT first sunday.

Post by Saint_ago » 30 Sep 2011 9:01

Hi.

Need to make a job that runs every day of the month EXCEPT in the first sunday.

I know that is easy to do the other way (ex. ONLY at the first sunday of a month), but how can i do what i need without using the calendar?

Thanks in advance.

User avatar
YusCtrlM
Nouveau
Nouveau
Posts: 2
Joined: 30 Sep 2011 12:00

Post by YusCtrlM » 30 Sep 2011 9:27

Am a newbie, but just posting a solution for the above question that comes to mind.
People please correct me if I am wrong.

WEEKDAYS = 1,2,3,4,5,6 (i.e. Monday to Saturday)
OR
DAYS = D8, D9, D10.... till end of month

i.e. it will pick up all the days starting from the 8th Day
(the first Sunday will fall on 7th of the month at max)
Also, for 1st to 7th of the month, it will ignore Sunday.

User avatar
Saint_ago
Nouveau
Nouveau
Posts: 13
Joined: 27 Sep 2011 12:00
Location: São Paulo

Post by Saint_ago » 30 Sep 2011 9:34

YusCtrlM wrote:Am a newbie, but just posting a solution for the above question that comes to mind.
People please correct me if I am wrong.

WEEKDAYS = 1,2,3,4,5,6 (i.e. Monday to Saturday)
OR
DAYS = D8, D9, D10.... till end of month

i.e. it will pick up all the days starting from the 8th Day
(the first Sunday will fall on 7th of the month at max)
Also, for 1st to 7th of the month, it will ignore Sunday.
Worked for me! Thank you so much!

Ps. If someone else knows another way to do that, please post it also, just for keep in my knowledge base.

User avatar
matom
Nouveau
Nouveau
Posts: 37
Joined: 29 Nov 2006 12:00
Location: Ile de France

Post by matom » 05 Oct 2011 2:06

Hi,

Below, another way :

Week-Days field : 1,2,3,4,5,6,D0W2,D0W3,D0W4,D0W5

Regards

Post Reply