summaryrefslogtreecommitdiffstats
path: root/usr.sbin/periodic
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-08-16 17:08:35 +0000
committerpst <pst@FreeBSD.org>1997-08-16 17:08:35 +0000
commitfa45a51529b99c668d63269fe0572380296cfe44 (patch)
tree3035775849f1724ff8ae6f256ab5975284bdcc40 /usr.sbin/periodic
parent93db7f7195a04ff2e45c6da90c499e1a3e2c60ba (diff)
downloadFreeBSD-src-fa45a51529b99c668d63269fe0572380296cfe44.zip
FreeBSD-src-fa45a51529b99c668d63269fe0572380296cfe44.tar.gz
Use /etc/periodic
Diffstat (limited to 'usr.sbin/periodic')
-rw-r--r--usr.sbin/periodic/periodic.812
-rw-r--r--usr.sbin/periodic/periodic.sh4
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/periodic/periodic.8 b/usr.sbin/periodic/periodic.8
index 5d0a1b5..a1ae2e6 100644
--- a/usr.sbin/periodic/periodic.8
+++ b/usr.sbin/periodic/periodic.8
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: periodic.8,v 1.2 1997/08/13 06:02:16 pst Exp $
+.\" $Id: periodic.8,v 1.3 1997/08/13 16:27:59 ache Exp $
.\"
.Dd 13 August 1997
.Os FreeBSD 3.0
@@ -74,12 +74,12 @@ directories, such as
If executables are added which depend upon other path components, each
executable must be responsible for configuring its own appropriate environment.
.Sh FILES
-.Bl -tag -width /etc/crontab
+.Bl -tag -width /etc/periodic
.It Pa /etc/crontab
The
.Nm
program is typically called via entries in the system default cron table.
-.It Pa /etc/cron.d
+.It Pa /etc/periodic
The top level directory containing
.Pa daily ,
.Pa weekly ,
@@ -93,9 +93,9 @@ system registry contains a variable
.Va local_cron
which may be configured to specify additional top level standard
periodic directories, such as
-.Pa /usr/local/etc/cron.d
+.Pa /usr/local/etc/periodic
and
-.Pa /usr/X11R6/etc/cron.d .
+.Pa /usr/X11R6/etc/periodic .
.El
.Sh EXAMPLES
The system crontab should have entries for
@@ -110,7 +110,7 @@ similar to the following example:
Additionally, the system registry will typically have a
.Va local_cron
variable reading:
-.Dl local_cron="/usr/local/etc/cron.d /usr/X11R6/etc/cron.d" # cron script dirs.
+.Dl local_cron="/usr/local/etc/periodic /usr/X11R6/etc/periodic" # cron script dirs.
.Sh SEE ALSO
.Xr cron 8 ,
.Xr crontab 5 ,
diff --git a/usr.sbin/periodic/periodic.sh b/usr.sbin/periodic/periodic.sh
index 297db11..d1625f7 100644
--- a/usr.sbin/periodic/periodic.sh
+++ b/usr.sbin/periodic/periodic.sh
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: periodic.sh,v 1.2 1997/08/13 06:02:18 pst Exp $
+# $Id: periodic.sh,v 1.3 1997/08/13 06:23:54 pst Exp $
#
# Run nightly periodic scripts
#
@@ -30,7 +30,7 @@ run=`basename $dir`
if [ "$dir" = "$run" ] ; then
dirlist=""
- for top in /etc/cron.d ${local_cron} ; do
+ for top in /etc/periodic ${local_cron} ; do
if [ -d $top/$dir ] ; then
dirlist="${dirlist} $top/$dir"
fi
OpenPOWER on IntegriCloud