Open maxadamo opened 6 months ago
as i just found out https://stackoverflow.com/a/43066502/574981
cron only has a resolution of 1 minute (there are other tools I think that may have finer resolutions but they are not standard on unix).
i just switched from supercronic to yacron as i like the yaml syntax very much.. and supercronic just supports it..
parse-crontab supports seconds.
as fare as i can tell it would be needed to be added to
maybe that is already all?!
if so i think i can write a pullrequest for this ;-)
May be a bit more tricky than that. The yacron main loop is a bit more lax:
To support second precision, yacron would need to:
Personally I don't find it useful, but YMMV, and I wouldn't mind reviewing some code to do this.
Description
Monit has the ability to schedule jobs per seconds, and now with Systemd timer, it's possible to set a lower accuracy for a job and then schedule a job to run every
x
seconds or microseconds.I don't know if microseconds is doable with an interpreted language, but I think that providing an option to run a jobs every
x
second would be nice and it would be a remarkable improvement to Vixie Cron.