Files
gentoo/sys-process/fcron/files/crontab.2
Thomas Deutschmann 531e27c45e sys-process/fcron: Bumped to v3.2.1
EBuild changes:
===============
 - Migrated to EAPI=6.

 - Automagic on sys-process/audit removed. (Bug #540446)

 - Previously we did only install cronjobs which remove lastrun lock files
   however we did not install a cronjob which actually called "run-crons"
   in the default systab when using USE=-system-crontab with the result
   that we never actually executed any cronjob from
   /etc/cron.{hourly,daily,weekly,monthly}. This was fixed by adding the
   missing job. (Bug #464278)

 - Default systab rewritten to clarify the purpose of /etc/crontab when the
   package was built with USE=system-crontab. (Bug #466900, #467316)

 - Systab commands are now using absolute path. (Bug #525242)

 - OpenRC runscript updated

  - Shebang updated to use openrc-run. (Bug #573846)

  - Multi instance support fixed which was broken due to missing quotes in
    getconfig(). (Bug #520264, #533786)

  - Runscript now "use clock" instead of "need clock". (Bug #546138)

  - Runscript is now more reliable because it waits 1000ms per default to
    ensure that fcron daemon is really up and running and has not
    terminated due to a problem.

Gentoo-Bug: https://bugs.gentoo.org/464278
Gentoo-Bug: https://bugs.gentoo.org/466900
Gentoo-Bug: https://bugs.gentoo.org/467316
Gentoo-Bug: https://bugs.gentoo.org/520264
Gentoo-Bug: https://bugs.gentoo.org/525242
Gentoo-Bug: https://bugs.gentoo.org/533786
Gentoo-Bug: https://bugs.gentoo.org/540446
Gentoo-Bug: https://bugs.gentoo.org/546138
Gentoo-Bug: https://bugs.gentoo.org/573846

Package-Manager: portage-2.3.2
2016-11-17 23:00:08 +01:00

27 lines
1.1 KiB
Groff

# /etc/crontab:
# This is fcron's special systab and *not* root's crontab!
# Global variables
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# "run-crons" from sys-process/cronbase package doesn't allow selective
# runs like "run-parts" from sys-apps/debianutils. So every time
# "run-crons" gets executed it loops through
# /etc/cron.{hourly,daily,weekly,monthly} and executes one after another if
# lastrun lock file isn't in place.
# Without fcron's "serial(true)" option it would be possible that a lastrun
# lock file which should have been removed still exists when "run-crons"
# starts so that a promptly execution of all cronjobs isn't always
# guaranteed.
!serial(true)
00 * * * * /bin/rm -f /var/spool/cron/lastrun/cron.hourly
00 00 * * * /bin/rm -f /var/spool/cron/lastrun/cron.daily
00 00 * * 6 /bin/rm -f /var/spool/cron/lastrun/cron.weekly
00 00 1 * * /bin/rm -f /var/spool/cron/lastrun/cron.monthly
*/10 * * * * /usr/bin/test -x /usr/sbin/run-crons && /usr/sbin/run-crons
!serial(false)