[Remind-Fans] Follow-up on 'counting a recurring event'

Roger aretae at magma.ca
Tue Apr 23 21:47:42 EDT 2013


Stopping on a count of a recurring event is something I need to do and 
in my search I found this entry:

http://lists.roaringpenguin.com/pipermail/remind-fans/2012/002820.html

Subsequently I came up with a procedure that seems to work for me and 
maybe it will be of use to others:

PUSH-OMIT-CONTEXT
  ⋅OMIT 2013-05-19
   SET SALSALESSON 0  # Doesn't appear to be required as seems to have 
no effect
   IF today() >= '2013-05-12'
    ⋅SET SALSALESSON 
nonomitted('2013-05-12',today(),"Mon","Tue","Wed","Thu","Fri","Sat")
    ⋅IF SALSALESSON < 6
      ⋅REM FROM 2013-05-12 AT 18:00 DURATION 1:00 SKIP MSG Salsa Level 1 
– #[SALSALESSON + 1] %3
     ENDIF
⋅ENDIF
POP-OMIT-CONTEXT

Basically, it schedules 6 Sundays while skipping one on 2013-05-19.

P.S. I am using:

REMIND 03.01.13 (English version) Copyright 1992-1998 David F. Skoll



More information about the Remind-fans mailing list