[Remind-Fans] Week Numbers. (2nd try)

David F. Skoll dfs at roaringpenguin.com
Wed Mar 17 15:28:46 EDT 2010

Geoff wrote:

> I'm still wondering why this one does not work:
> REM Mon SATISFY weekno(trigdate()) == 11
> IF trigvalid()
>         SET week11_start trigdate()
> REM [week11_start] *1 UNTIL [week11_start+4] MSG Week 11. Starts: [week11_start]

It has to do with the Remind scanning algorithm.  In the slides
at http://www.roaringpenguin.com/files/download/remind-oclug.pdf
I call it the Remind Zen.

Hint: Run through your reminder file by hand, pretending that the run
occurs on the Tuesday of Week 11 of the current year.

Then see the SCANFROM documentation in the man page.



More information about the Remind-fans mailing list