[Remind-Fans] How to "Next days after 2nd Monday"

Zoong PHAM zoong at zoong.com
Fri Jun 5 00:18:17 EDT 2009


Can someone please help me with this:

I need to run 5 scripts, one on each day.
The first script should start on the 2nd Monday of every month.
The second script runs on the day after that Monday; and the third script
on the 2nd day after that Monday, and so on.


My 1st attempt was:
REM Monday 7 AT 6:00 RUN script1
REM Tuesday 7 AT 6:00 RUN script2
...
REM Friday 7 AT 6:00 RUN script5.

Then I realise that the script1 is running on the correct day. However,
all the rests (Tuesday - Friday) are not.
For example for May 2009, with my attempt, the script5 would run on
Friday 8th. But I need to run script5 on Friday 15th because the 2nd
Monday was 11th.

Thanks.
Zoong



More information about the Remind-fans mailing list