History log of /freebsd-10.1-release/usr.sbin/periodic/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


255178 03-Sep-2013 jlh

Include the calling context in the mail subject, if any.

More concretely, periodic security scripts defaults to being
called from daily ones -- daily context -- so the mail subject
will now be "${HOST} daily security run output" instead of
"{HOST} security run output".

If you switch the period of some security checks to weekly, you
will receive another email "${HOST} weekly security run output".


254829 25-Aug-2013 jlh

Export a PERIODIC environment variable from periodic(8). This will
allow periodic security scripts to know if they have been called in
a daily or a weekly context.


231568 12-Feb-2012 brooks

Prevent periodic scripts that run longer than the expected period from
starting up before the previous script finishes. This prevents an
infinite number of them from piling up and slowing a system down.

Since all the refactoring to make this happen required churning the
indenting of most of this file, make the indentation more consistent.

Reviewed by: simon
MFC after: 1 week


206622 14-Apr-2010 uqs

mdoc: order prologue macros consistently by Dd/Dt/Os

Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by: ru
Approved by: philip, ed (mentors)


172081 07-Sep-2007 gabor

- The weekly periodic runs occur on Saturday mornings, not on Sunday mornings

PR: docs/113975
Submitted by: Marian Cerny <jojo@matfyz.cz>
Reviewed by: keramida
Approved by: re (bmah)


171562 24-Jul-2007 delphij

Stop mentioning /usr/X11R6.

Approved by: re (hrs)


170990 22-Jun-2007 dwmalone

Add an option to make periodic(8) quiet when no output was generated.

The man page part of the patch is my fault, the changes to the
periodic script is Dominik's.

PR: 88486
Submitted by: Dominik Brettnacher <domi@saargate.de>
Reviewed by: brian
Approved by: re
MFC after: 1 month


140442 18-Jan-2005 ru

Sort sections.


140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


99968 14-Jul-2002 charnier

The .Nm utility


96555 14-May-2002 brian

Mention the ``end of output'' for each periodic script.

Submitted by: David Wolfskill <david@catwhisker.org>
PR: 37036
MFC after: 1 week


87523 08-Dec-2001 ru

mdoc(7) police: fix markup in revision 1.25.


87514 07-Dec-2001 cjc

Long ago, there was just /etc/daily. Then /etc/security was split out
of /etc/daily. Some time later, /etc/daily became a set of periodic(8)
scripts. Now, this evolution continues, and /etc/security has been
broken into periodic(8) scripts to make local customization easier and
more maintainable.

Reviewed by: ru
Approved by: ru


87073 28-Nov-2001 cjc

Add a BUGS section noting that the basename of a directory containing
periodic(8) scripts must be useable as a sh(1) variable.

MFC after: 2 days


86650 20-Nov-2001 ru

mdoc(7) police: Fix markup.


81285 08-Aug-2001 ru

mdoc(7) police: expand plain text xrefs.


79755 15-Jul-2001 dd

Remove whitespace at EOL.


79537 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


75531 15-Apr-2001 dd

Grammar police: "its", not "it's", is the possessive form of "it".


75286 07-Apr-2001 ru

beforeinstall -> SCRIPTS.


74816 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


71107 16-Jan-2001 ru

mdoc(7) police: fixed broken references.


70015 14-Dec-2000 ru

mdoc(7) police: removed history info from the .Os FreeBSD call.


69862 11-Dec-2000 ru

mdoc(7) police: use canonical form of .Dd macro.


69188 26-Nov-2000 kris

Properly fix the temporary file creation in the case of multiple
command-line arguments.

Noticed by: dynamo <dynamo@ime.net>


68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68226 02-Nov-2000 kris

Don't use a trivially predictable temporary filename and keep recreating
it again and again, practically begging the Bad Man to insert his symlink
underneath it and send us down the path to oblivion.

Noticed by: David Lary <dlary@secureworks.net>


66141 20-Sep-2000 brian

Fix a typo

Spotted by: Manfred Antar <null@pozo.com>


66084 19-Sep-2000 brian

Put temporary output in ${TMPDIR:-/tmp}
If $<basedir>_output is not set, don't redirect output

PR: 21395


66083 19-Sep-2000 brian

Don't clobber $? before using it.

Submitted by: James Barkley <jbarkley@wgate.com>


65956 16-Sep-2000 brian

Fix situations where none of the scripts executed produce output,
so that we don't see any more ``null message body, hope that's
ok'' messages.

We now see something like ``No output from the 3 files processed''.

Lump all output for a given periodic argument together so that
people with /usr/local/etc/periodic/daily (for example) will
get the output of those jobs together with the normal daily run
rather than getting a second email.

Prompted by: ben


65843 14-Sep-2000 brian

Another overhaul of the periodic stuff.

All periodic sub-scripts <larf> now have their return codes interpreted
by periodic(8). Output may be masked based on variable values in
periodic.conf.

It's also now possible to email periodic output to arbitrary addresses,
or to send it to a log file, examples of which can be found in
newsyslog.conf.

The upshot of it all should be no discernable changes to the default
behaviour of periodic(8).

PR: 21250


61981 23-Jun-2000 brian

Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.
The only change in the default functionality should be that
the output reports are slightly more verbose WRT files deleted.

Not objected to by: freebsd-arch


59701 27-Apr-2000 nbm

Update periodic to use the function source_rc_confs that
/etc/defaults/rc.conf now exports.


58767 29-Mar-2000 cpiazza

export host after setting it.

This is needed so passwd diffs show the hostname instead of
" passwd diffs:"

PR: 17651
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>


50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


45956 23-Apr-1999 ghelmer

local_cron -> local_periodic

PR: docs/11253


44008 14-Feb-1999 jkh

Look in correct rc.conf file.

Submitted by: Kevin Street <street@iname.com


42239 01-Jan-1999 billf

Make periodic(8) and the security mailings reflect the full FQDN, as opposed
to a hostname. This will help those who keep a cluster of machines all with
the same hostname but different domain names.

PR: bin/9091
Submitted By: Heikki Suonsivu <hsu@clinet.fi>
No Response From: -current mailing list


42152 29-Dec-1998 hoek

Directories aren't executable.

Submitted by: Dennis Glatting <dennis.glatting@software-munitions.com>
(misc/9147)


42151 29-Dec-1998 hoek

Misplaced comma.


34809 23-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


29988 29-Sep-1997 wosch

Sort cross refereces in section SEE ALSO.


28424 19-Aug-1997 pst

Change local_cron to local_periodic.
Submitted by: bde


28267 16-Aug-1997 pst

Use /etc/periodic


28168 13-Aug-1997 ache

Fix mdoc directives


28145 13-Aug-1997 pst

Back out the fancy directory sorting, it's more pain that its worth,
and it's there in the CVS repository in case someone things that this
idea is superkeen.


28143 13-Aug-1997 pst

Incorporate some ideas that came up during discussion with msmith.


28113 12-Aug-1997 pst

This commit was generated by cvs2svn to compensate for changes in r28112,
which included commits to RCS files with non-trunk default branches.