[Remind-Fans] Countdown message that only includes weekdays

Dianne Skoll dfs at roaringpenguin.com
Wed Dec 28 09:46:13 EST 2016


On Tue, 27 Dec 2016 20:01:56 -0300
Sector11 <Sector11 at fibertel.com.ar> wrote:

> REM 2017-01-30 +45 OMIT Sat Sun MSG Report due %x

That doesn't omit holidays and weekends in the 45-day count.  If I understand
the Op correctly, he wants a message every 45 days, where you do NOT count
holidays or weekends in the 45-day cycle.

That's quite hard.  It will most likely hit Remind's internal iteration
limit and not work.  The closest I could come up with is this:

FSET goodcount(x, y) ((nonomitted(x, y, "Sat", "Sun") % 45) == 0) && !isomitted(y) && wkdaynum(y) != 0 && wkdaynum(y) != 6
REM 2017-01-30 *1 SATISFY [goodcount('2017-01-30', trigdate())] MSG Report

Regards,

Dianne.


More information about the Remind-fans mailing list