[Remind-Fans] A-Day / B-Day

hymie at nasalinux.net hymie at nasalinux.net
Tue Aug 27 09:58:40 EDT 2024


Dianne Skoll via Remind-fans writes:

>But trigvalid() will always be true.  Remind is always able to calculate
>a trigger date for:
>
>    rem 2024-08-27 *2 SKIP SATISFY 1

I'm confused.  I through trigvalid() will be false on 2024-08-28.

I thought it was the same as this construct:

rem 2021-04-21 *56 until 2099-12-31 SATISFY 1·
if (trigvalid())
  SET ebhpasswd trigdate()
  rem [ebhpasswd] SPECIAL COLOR 255 0 0 Ehymowitz Password Changes
endif

which works exactly the way I picture it.  It only triggers on the
appropriate days every 8 weeks.

So it was my understanding that ...

set a_day 0
rem 2024-08-27 *2 SKIP SATISFY 1
if (trigvalid())
  set a_day 1
endif

the a_day variable would only be set to 1 on alternate days, and would
remain 0 on opposite-alternate days.

--hymie!


More information about the Remind-fans mailing list