[Remind-Fans] Tracking N days after most recent event in a series

Dianne Skoll dianne at skoll.ca
Wed Mar 29 12:06:23 EDT 2023


On Wed, 29 Mar 2023 10:53:21 -0500
Tim Chase via Remind-fans <remind-fans at lists.skoll.ca> wrote:

>   REM Feb 6 2023 MSG Lunch with Matt
>   REM Mar 12 2023 MSG Lunch with Matt
>   # when new lunchtime gets scheduled
>   # insert the event here
>   SET lastMattLunch $T
>   REM [lastMattLunch + 23] MSG Text Matt to schedule lunch

Any time you see something like:

   REM [expression + something]

it should raise a red flag.  That is breaking the Remind algorithm.

> so it feels like I need some sort of SCANFROM or
> IFTRIG, but I'm not sure how that would look.

   REM Mar 12 2023 SCANFROM -30 MSG Lunch with Matt
   set lml $T
   REM [lml+23] MSG Text Matt...

(I could have used scanfrom -23, but I used -30 to give a few days leeway.)

Regards,

Dianne.


More information about the Remind-fans mailing list