Hello Dianne, 5 août 2022, 14:29 de [email protected]:
> On Fri, 5 Aug 2022 09:22:22 +0200 (CEST) > l0f4r0--- via Remind-fans <[email protected]> wrote: > >> My following SCHED function doesn't seem to work: >> >> FSET sched_func(x) choose(x, -10, 1, 0) >> REM 05 August 2022 AT 09:20 SCHED sched_func MSG %"Test alert%" %1% >> >> Indeed, I get no warning at all (09h10, 09h11 nor 09h20). >> > How are you invoking Remind? > It's invoked via my .xsessionrc file: nohup rem -z -k'echo %s | gxmessage -file - -font "14" -noescape -ontop -sticky -name "[Remind] "%s"" -title "[Remind] "%s"" &' & > When I invoke it, it works: > > $ remind foo.rem > Reminders for Friday, 5th August, 2022 (today): > > Test alert 52 minutes from now > Same for me. > $ ps auxww|grep [f]oo.rem > dfs 6811 0.0 0.0 5756 140 pts/0 S 08:28 0:00 remind > foo.rem > > $ kill -INT 6811 > Contents of AT queue: > Trigger: 09:20 Activate: 09:10 Rep: 0 Delta: 0 Sched: sched_func(2) > Text: MSG %"Test alert%" %1% > For the sake of the test, I've just modified my remind into the following: 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% Why "Activate: 23:59" and not "Activate: 18:27" please? Thanks for your help l0f4r0 _______________________________________________ Remind-fans mailing list [email protected] https://dianne.skoll.ca/mailman/listinfo/remind-fans Remind is at https://dianne.skoll.ca/projects/remind/
