Page 1 of 1

Every day EXCEPT first sunday.

Posted: 30 Sep 2011 9:01
by Saint_ago
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.

Posted: 30 Sep 2011 9:27
by YusCtrlM
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.

Posted: 30 Sep 2011 9:34
by Saint_ago
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.

Posted: 05 Oct 2011 2:06
by matom
Hi,

Below, another way :

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

Regards