freebsd-dev/usr.sbin/cron
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
..
cron Second attempt to add @every_second keyword support. Due to multiple 2012-10-25 22:54:29 +00:00
crontab Second attempt to add @every_second keyword support. Due to multiple 2012-10-25 22:54:29 +00:00
doc Spelling fixes for usr.sbin/ 2011-12-30 10:58:14 +00:00
lib Second attempt to add @every_second keyword support. Due to multiple 2012-10-25 22:54:29 +00:00
Makefile
Makefile.inc Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00