[Remind-Fans] Issue with SCHED function

l0f4r0 at tuta.io l0f4r0 at tuta.io
Fri Aug 5 15:33:53 EDT 2022


Dianne,

5 août 2022, 20:40 de dianne at skoll.ca:

> This is weird:
>
>> FSET sched_func(x) choose(x, -3, 1, 0)
>> REM 05 August 2022 AT 18:30 SCHED sched_func MSG %"Test alert 18:30%" %1%
>>
>> and I see that I have a strange result from my side:
>>
>> $ kill -INT 1053386
>> Contents of AT queue:
>> Trigger: 18:30  Activate: 23:59  Rep: 0  Delta: 0  Sched:
>> sched_func(2) Text: MSG %"Test alert 18:30%" %1%
>>
> What time was it when you ran the kill -INT?  If it was after 18:30,
> that could explain what you saw.  However, I cannot replicate this
> result.
>
No, it was before.

I've done the test one more time:

     FSET sched_func(x) choose(x, -30, 1, 0)
     REM 05 August 2022 AT 22:00 SCHED sched_func MSG %"Test alert 22h00%" %1%

At 21h28, I typed:

$ rem
Reminders for Friday, 5th August, 2022 (today):
Test alert 22h00 32 minutes from now

Some seconds after 21h28, I typed:

$ kill -INT 1263164
Contents of AT queue:
Trigger: 22:00  Activate: 23:59  Rep: 0  Delta: 0  Sched: sched_func(2)
Text: MSG %"Test alert 22h00%" %1%

Weird indeed...l0f4r0



More information about the Remind-fans mailing list