Fix restart of a stopped cron watcher

uev_cron_start() on a stopped cron watcher brings it back as a regular
timer, with a timeout made up of parts of the cron schedule.  It calls
uev_timer_start(), which reads the timer fields of the watcher and
creates a monotonic timer.

Restart with uev_cron_set() and the cron schedule instead.
This commit is contained in:
NefelibateLG authored and Joachim Wiberg committed 2026-11-16 14:54:48 +01:00
1 parent e699cb7f5f
commit ae28276f3f
4 files changed
+40 -1

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ TESTS += active
TESTS += api
TESTS += complete
TESTS += cronrun
TESTS += cronstart
TESTS += io
TESTS += signal
TESTS += stdin