[Remind-Fans] Push back a notification by a week on OMIT

David F. Skoll dfs at roaringpenguin.com
Tue Apr 7 12:35:48 EDT 2015


On Tue, 7 Apr 2015 11:51:10 -0400
Toyam Cox <csupercomputergeek at gmail.com> wrote:

> There is a lab that meets once every three weeks. However, when the
> lab would be scheduled on a break, like Thanksgiving, the lab is
> re-scheduled for the week after. That is, if 1 is lab, and - is no
> lab (that week), from 1--1--1, the schedule would become 1---1-1.
> However remember there is an entire week represented by each of those
> "graph" characters. So it'd need to be day X on those weeks.

OK, that's tricky.  So if it's every three Thursdays, you could
do something like this:


# Test: Pretend April 30 is a holiday
OMIT 30 April 2015

# The basic schedule
REM 2015-04-09 *21 SKIP MSG Lab Meeting

# The delayed-by-a-week schedule
# Only trigger if the previous one was omitted
REM 2015-04-16 *21 SATISFY [isomitted(trigdate()-7)] MSG Lab Meeting (delayed)

Regards,

David.


More information about the Remind-fans mailing list