[Remind-Fans] trigger date + x days

Phil Snowberger psnowber at cse.nd.edu
Mon May 14 10:32:28 EDT 2007


On Mon, May 14, 2007 at 09:53:18AM -0400, Jorey Bump wrote:
> Paul Pelzl wrote:
> > On Mon, May 14, 2007 at 02:39:57PM +0100, T E Schmitz wrote:
> >> I would like to specify a trigger date as date+x days. What's the syntax 
> >> for this?
> >>
> >> I am looking for something like
> >>
> >> REM [trigger('2007-04-11' +180] MSG top up phone-card
> > 
> > This works, if you add the closing ')' for the trigger() function...
> 
> How would you write it to trigger *every* 180 days from that date?

Something like

REM 2007 Apr 11 *180 MSG "top up phone-card"

would probably work.  If there's an end in sight you could also put an
UNTIL in:

REM 2007 Apr 11 *180 UNTIL 2020 MSG "top up phone-card"

That should work.

--Phil

-- 
Phil Snowberger -- psnowber at cse.nd.edu
Department of Computer Science and Engineering
University of Notre Dame



More information about the Remind-fans mailing list