[Remind-Fans] Long-term notifications

Dianne Skoll dianne at skoll.ca
Wed Oct 19 10:49:37 EDT 2022


On Wed, 19 Oct 2022 14:06:28 +0000
Tim Chase via Remind-fans <remind-fans at lists.skoll.ca> wrote:

> For an example, you might do 90-day scheduling with weekly reminders
> like:

>   FSET weekly(x) iif(x > (90 / 7), 0, 90 + 1 - (x*7))
>   REM Jan 31 2023 WARN weekly MSG Important Thing on [$T]

The OP wanted:

"Is there an easy way to have, say a reminder once a week until maybe
the last 7 days, and then switch to daily again?"

and this is one way to do it.  There's probably a more compact way
using iif and expressions, but I kind of like choose because it's
explicit about how many days in advance the reminder will trigger.

FSET wfunc(x) choose(x, 90, 83, 76, 69, 62, 55, 48, 41, 34, 27, 20, 13, 7, 6, 5, 4, 3, 2, 1, 0)

REM Jan 31 2023 WARN wfunc MSG Something %b.

Regards,

Dianne.


More information about the Remind-fans mailing list