Dianne, 5 août 2022, 21:33 de [email protected]:
> 5 août 2022, 20:40 de [email protected]: > >> 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 > Wait, it's becoming really strange: * I copied-pasted my 2 lines from my original reminder file (let's call it wrong_file) to another new one (let's call it correct_file). * And now the reminder is correctly triggered from correct_file (still not from wrong_file). "Activate:" reporting after `kill` command is OK. `diff` doesn't detect any difference from both files (2 lines of wrong_file vs. correct_file). `cat -A` don't show anything suspicious Only `file` spots a difference: wrong_file is "UTF-8 Unicode text" whereas correct_file is "ASCII text" (but my other "UTF-8 Unicode text" reminder files, without SCHED option though, seem to work correctly so I'm not sure it's relevant). NB: wrong_file has been created by wyrd initially but this specific REM_WITH_SCHED was mine by hand. If you have any idea, please share :) l0f4r0 _______________________________________________ Remind-fans mailing list [email protected] https://dianne.skoll.ca/mailman/listinfo/remind-fans Remind is at https://dianne.skoll.ca/projects/remind/
