[Remind-Fans] trigger date + x days
Jorey Bump
list at joreybump.com
Mon May 14 11:59:21 EDT 2007
Phil Snowberger wrote:
> 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.
I was looking for a solution like the one Paul provided, where you get
to preserve the full date:
REM [trigger('2007-04-11' +180)] *180 MSG top up phone-card
This can be useful if you want to record for prosperity the actual date
that set the trigger.
More information about the Remind-fans
mailing list