svn commit: r241576 - in head/usr.sbin/cron: cron crontab lib
Valentin Nechayev
netch at netch.kiev.ua
Tue Oct 16 06:05:03 UTC 2012
Mon, Oct 15, 2012 at 15:45:37, adrian wrote about "Re: svn commit: r241576 - in head/usr.sbin/cron: cron crontab lib":
> Why not sleep for the amonut of time needed before the next event?
If you do this for all events listed currently in all crontabs, you
need event engine. Currently request to recheck crontabs each minute
masks the need to build event list.
Switching this to 1-second step breaks former success. But we still
can do something like
if (per_second_requests_count > 0)
sleep(1);
else
sleep_until_next_minute_margin();
as soon as there will be really few systems where @every_second is
used.
-netch-
More information about the svn-src-all
mailing list