[Remind-Fans] SKIP'ing weekends and holidays

David F. Skoll dfs at roaringpenguin.com
Tue Aug 7 10:08:52 EDT 2012


On Tue, 7 Aug 2012 09:56:50 -0400
"David F. Skoll" <dfs at roaringpenguin.com> wrote:

> Or do you mean that it fails because you want the one after the 13th
> to be on the 16th instead of the 14th?  That's a lot trickier; I
> can't think of a way to do it offhand... anyone?

This works, I think:

REM 8 August 2012 *1 AT 9:30 DURATION 1:00 \
    SATISFY [(nonomitted('2012-08-08', $T, "Sat", "Sun") % 3) == 0 && !isomitted($T) && $Tw != 0 && $Tw != 6] \
    MSG Meeting %b

I don't really want to explain it, though... that's left as an exercise. :)

Regards,

David.


More information about the Remind-fans mailing list