I'm trying to sharpen my remind-foo by coding recurring tasks.  Here's
on that I haven't been able to figure out on my own, using the web page.

Garbage day is every Tuesday, but if Monday of that week is a holiday
(is omitted), then garbage day is moved to Wednesday.

The following snippet seems to take care of that eventuality, but
there's another twist I want to add.

That is, if the Tuesday itself is a holiday (omitted), then garbage day
is also moved to Wednesday.  So the day is moved to Wednesday if the
omitted day falls on Monday _or_ Tuesday.

Can someone give me a push in the right direction with this?

Thanks.  And thanks again for Remind.

        JL


FSET _omittue(d) iif(isomitted(d), "OMIT Tue AFTER", "")
REM Oct 13 2008 *7 SCANFROM [trigger(today()-7)] SATISFY 1
REM [trigger(trigdate()+1)] [_omittue(trigdate())] MSG %"Garbage day%"%


-- 
JL <[EMAIL PROTECTED]>
This message optimized for teletypes.

_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.whatexit.org/mailman/listinfo/remind-fans

Reply via email to