diff options
author | Brad Davis <brd@FreeBSD.org> | 2018-09-06 14:55:54 +0000 |
---|---|---|
committer | Brad Davis <brd@FreeBSD.org> | 2018-09-06 14:55:54 +0000 |
commit | 2d7bc6b39b7d1dda5394cead2350c639f7f35be8 (patch) | |
tree | 626c2a81505e58586956629c09803f7a8e44af73 /usr.sbin/cron | |
parent | 49365eb433065c9c4c49a1586edf4359f2d1aa22 (diff) | |
download | src-2d7bc6b39b7d1dda5394cead2350c639f7f35be8.tar.gz src-2d7bc6b39b7d1dda5394cead2350c639f7f35be8.zip |
Move etc/crontab to usr.sbin/cron/cron/
Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D16786
Notes
Notes:
svn path=/head/; revision=338497
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r-- | usr.sbin/cron/cron/Makefile | 1 | ||||
-rw-r--r-- | usr.sbin/cron/cron/crontab | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/usr.sbin/cron/cron/Makefile b/usr.sbin/cron/cron/Makefile index 0aa84d8a26fd..87c6bab7b495 100644 --- a/usr.sbin/cron/cron/Makefile +++ b/usr.sbin/cron/cron/Makefile @@ -1,5 +1,6 @@ # $FreeBSD$ +CONFS= crontab PROG= cron MAN= cron.8 SRCS= cron.c database.c do_command.c job.c user.c popen.c diff --git a/usr.sbin/cron/cron/crontab b/usr.sbin/cron/cron/crontab new file mode 100644 index 000000000000..994d4ae6af00 --- /dev/null +++ b/usr.sbin/cron/cron/crontab @@ -0,0 +1,23 @@ +# /etc/crontab - root's crontab for FreeBSD +# +# $FreeBSD$ +# +SHELL=/bin/sh +PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin +# +#minute hour mday month wday who command +# +# Save some entropy so that /dev/random can re-seed on boot. +*/11 * * * * operator /usr/libexec/save-entropy +# +# Rotate log files every hour, if necessary. +0 * * * * root newsyslog +# +# Perform daily/weekly/monthly maintenance. +1 3 * * * root periodic daily +15 4 * * 6 root periodic weekly +30 5 1 * * root periodic monthly +# +# Adjust the time zone if the CMOS clock keeps local time, as opposed to +# UTC time. See adjkerntz(8) for details. +1,31 0-5 * * * root adjkerntz -a |