summaryrefslogtreecommitdiff
path: root/share/man/man8/daily.8
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man8/daily.8')
-rw-r--r--share/man/man8/daily.835
1 files changed, 26 insertions, 9 deletions
diff --git a/share/man/man8/daily.8 b/share/man/man8/daily.8
index dbef12e704a..b63e696bfdf 100644
--- a/share/man/man8/daily.8
+++ b/share/man/man8/daily.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: daily.8,v 1.11 2009/05/09 14:21:24 schwarze Exp $
+.\" $OpenBSD: daily.8,v 1.12 2009/05/09 16:29:55 schwarze Exp $
.\"
.\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
.\"
@@ -18,16 +18,18 @@
.Dt DAILY 8
.Os
.Sh NAME
-.Nm daily , weekly
+.Nm daily , weekly , monthly
.Nd periodic system maintenance
.Sh SYNOPSIS
.Nm /etc/daily
.Nm /etc/weekly
+.Nm /etc/monthly
.Sh DESCRIPTION
-The files
-.Pa /etc/daily
+The three files
+.Pa /etc/daily ,
+.Pa /etc/weekly ,
and
-.Pa /etc/weekly
+.Pa /etc/monthly
are shell scripts run on a periodic basis by the clock daemon,
.Xr cron 8 .
They take care of some basic administrative tasks.
@@ -47,13 +49,15 @@ for further details.
.Pp
These scripts should not be altered.
Local additions should be made to the files
-.Pa /etc/daily.local
-and
+.Pa /etc/daily.local ,
.Pa /etc/weekly.local ,
-which will be executed by
-.Pa /etc/daily
and
+.Pa /etc/monthly.local ,
+which will be executed by
+.Pa /etc/daily ,
.Pa /etc/weekly ,
+and
+.Pa /etc/monthly ,
respectively.
The
.Pa *.local
@@ -192,6 +196,15 @@ file exists, show individual users' login via the
.Xr ac 8
utility.
.El
+.Ss /etc/monthly
+This script is run monthly.
+It currently does the following:
+.Bl -dash
+.It
+Runs the script
+.Pa /etc/monthly.local ,
+if it exists.
+.El
.Sh ENVIRONMENT
The following variables can be set in
.Pa /etc/daily.local :
@@ -227,6 +240,10 @@ Site specific daily maintenance script.
Weekly maintenance script.
.It Pa /etc/weekly.local
Site specific weekly maintenance script.
+.It Pa /etc/monthly
+Monthly maintenance script.
+.It Pa /etc/monthly.local
+Site specific monthly maintenance script.
.It Pa /var/cron/tabs/root
Root
.Xr crontab 5 .