[Remind-Fans] Multi-day events based off a calculated date?

Dianne Skoll dianne at skoll.ca
Thu Sep 27 13:25:33 EDT 2018


On Thu, 27 Sep 2018 09:43:18 -0500
Tim Chase <tim at thechases.com> wrote:

> REM Sat Sun 2019 +1 UNTIL Jan 1 2020 SATISFY [ \
>     ($Tw  == 6 && $Td < 8) \
>     || ($Tw == 0 && $Td > 1 && $Td < 9) \
>     ] MSG %"Weekend to work%" %b%

That will work too.

> (SATISFY is a great swiss-army-knife for whacking problems in a way
> that fits my mind.)

SATISFY is SATISFYing but it's quite inefficient.  Remind has to
repeatedly test candidates until it finds one for which the SATISFY
expression evaluates to true.  I tend to use it sparingly and make the
rest of the reminder as specific as possible to limit the number of times
the SATISFY expression has to be evaluated.

Regards,

Dianne.


More information about the Remind-fans mailing list