freebsd-dev/usr.sbin/cron/lib
Maxim Sobolev 7a5c30c5b6 Second attempt to add @every_second keyword support. Due to multiple
requests, default to the previous 60-seconds scheduling method
unless there is any @every_second entries to conserve CPU cycles and
power.

This change also improves scheduling in the default mode by running
as close to the beginning of the minnute as possible by replacing
sleep(3) with nanosleep(2). Previously, the tasks would run anywhere
within the first second of the minute and that offset drifted back
and forth each time cron(8) was engaged.

MFC after:	1 month
2012-10-25 22:54:29 +00:00
..
compat.c
entry.c Second attempt to add @every_second keyword support. Due to multiple 2012-10-25 22:54:29 +00:00
env.c
Makefile use WARNS?= instead of WARNS= 2008-11-18 00:59:26 +00:00
misc.c Fix build with LOG_FILE undefined and DEBUGGING disabled. 2012-10-02 09:23:16 +00:00