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

Justin Alcorn justin at jalcorn.net
Wed Mar 29 12:44:01 EDT 2023


Oh, that's useful.  I use taskwarrior to do this kind of thing with
Relative Recur, but something like

REM Mar 27 2023 SCANFROM -50 MSG Flea Treatment for cats
set nft $T
REM [nft+21] +14 MSG Flea Treatment

Because I don't always do it on the exact day. (Start reminding me at 3
weeks, keep reminding me until 5 weeks.....)  Then when I actually do it,
update one date in the file.

Brilliant!
-- 
Justin B. Alcorn
The views expressed are not necessarily my own, much less anyone else's
PGP Fingerprint CCEB F776 C3FD 1050 C8DB  532E B8B9 BED7 7764 406C


On Wed, Mar 29, 2023 at 12:06 PM Dianne Skoll via Remind-fans <
remind-fans at lists.skoll.ca> wrote:

> 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.
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.skoll.ca
> https://dianne.skoll.ca/mailman/listinfo/remind-fans
> Remind is at https://dianne.skoll.ca/projects/remind/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dianne.skoll.ca/pipermail/remind-fans/attachments/20230329/68027bbd/attachment.htm>


More information about the Remind-fans mailing list