You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be neat if defpoll supported in addition to the usual interval period a cron-like ability to specify polling at specific instants.
Right now doing something like this requires writing a script and using deflisten which is of course super-general, but ain't nobody is doing that for a clock-like thing (bash doesn't exactly have a sleep_until alike.)
Proposed configuration syntax
;; calls date only when the clock hits 0th second.
(defpoll variable:at"0 * * * * *""date '+%H:%M'")
Additional context
Implementation wise sleep_until-like function along with the cron crate could be used.
The text was updated successfully, but these errors were encountered:
Description of the requested feature
It would be neat if defpoll supported in addition to the usual interval period a cron-like ability to specify polling at specific instants.
Right now doing something like this requires writing a script and using
deflisten
which is of course super-general, but ain't nobody is doing that for a clock-like thing (bash doesn't exactly have asleep_until
alike.)Proposed configuration syntax
Additional context
Implementation wise
sleep_until
-like function along with thecron
crate could be used.The text was updated successfully, but these errors were encountered: