[Remind-Fans] SKIP'ing weekends and holidays

Sharninder Khera khera at one.com
Thu Aug 16 04:54:52 EDT 2012


> > 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. :)
> 

Thanks David. This seems to work, atleast for the 2 months that I
manually checked. 

I think I should spend some time understanding the script now :)

--
Sharninder




More information about the Remind-fans mailing list