From owner-svn-src-all@freebsd.org Thu Sep 6 14:55:55 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F849FFD634; Thu, 6 Sep 2018 14:55:55 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9D327A668; Thu, 6 Sep 2018 14:55:54 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E09B568D7; Thu, 6 Sep 2018 14:55:54 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w86EtsTb023869; Thu, 6 Sep 2018 14:55:54 GMT (envelope-from brd@FreeBSD.org) Received: (from brd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w86Etsr2023866; Thu, 6 Sep 2018 14:55:54 GMT (envelope-from brd@FreeBSD.org) Message-Id: <201809061455.w86Etsr2023866@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brd set sender to brd@FreeBSD.org using -f From: Brad Davis Date: Thu, 6 Sep 2018 14:55:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r338497 - in head: etc usr.sbin/cron/cron X-SVN-Group: head X-SVN-Commit-Author: brd X-SVN-Commit-Paths: in head: etc usr.sbin/cron/cron X-SVN-Commit-Revision: 338497 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 14:55:55 -0000 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