Author: brd
Date: Thu Sep  6 14:55:54 2018
New Revision: 338497
URL: https://svnweb.freebsd.org/changeset/base/338497

Log:
  Move etc/crontab to usr.sbin/cron/cron/
  
  Approved by:  re (gjb), will (mentor)
  Differential Revision:        https://reviews.freebsd.org/D16786

Added:
  head/usr.sbin/cron/cron/crontab
     - copied unchanged from r338496, head/etc/crontab
Deleted:
  head/etc/crontab
Modified:
  head/etc/Makefile
  head/usr.sbin/cron/cron/Makefile

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile   Thu Sep  6 14:15:03 2018        (r338496)
+++ head/etc/Makefile   Thu Sep  6 14:55:54 2018        (r338497)
@@ -12,7 +12,7 @@ UPDATE_DEPENDFILE=    no
 SUBDIR+=sendmail
 .endif
 
-BIN1=  crontab \
+BIN1=  \
        dhclient.conf \
        disktab \
        group \

Modified: head/usr.sbin/cron/cron/Makefile
==============================================================================
--- head/usr.sbin/cron/cron/Makefile    Thu Sep  6 14:15:03 2018        
(r338496)
+++ head/usr.sbin/cron/cron/Makefile    Thu Sep  6 14:55:54 2018        
(r338497)
@@ -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

Copied: head/usr.sbin/cron/cron/crontab (from r338496, head/etc/crontab)
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/usr.sbin/cron/cron/crontab     Thu Sep  6 14:55:54 2018        
(r338497, copy of r338496, head/etc/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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to