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

Roger aretae at magma.ca
Wed Apr 24 12:02:25 EDT 2013


Belay my last.

This doesn't work!  When I tested it last night I could have sworn it 
worked but not this morning!

My apologies for any inconvenience.


-------- Original Message --------
Subject: 	Follow-up on 'counting a recurring event'
Date: 	Tue, 23 Apr 2013 21:47:42 -0400
From: 	Roger <aretae at magma.ca>
To: 	remind-fans at lists.roaringpenguin.com



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