summaryrefslogtreecommitdiffstats
path: root/usr.sbin/periodic
Commit message (Collapse)AuthorAgeFilesLines
* Include the calling context in the mail subject, if any.jlh2013-09-031-4/+6
| | | | | | | | | | 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".
* Export a PERIODIC environment variable from periodic(8). This willjlh2013-08-251-0/+1
| | | | | allow periodic security scripts to know if they have been called in a daily or a weekly context.
* Prevent periodic scripts that run longer than the expected period frombrooks2012-02-121-64/+95
| | | | | | | | | | | 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
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-141-1/+1
| | | | | | | | 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)
* - The weekly periodic runs occur on Saturday mornings, not on Sunday morningsgabor2007-09-071-2/+2
| | | | | | | PR: docs/113975 Submitted by: Marian Cerny <jojo@matfyz.cz> Reviewed by: keramida Approved by: re (bmah)
* Stop mentioning /usr/X11R6.delphij2007-07-241-1/+1
| | | | Approved by: re (hrs)
* Add an option to make periodic(8) quiet when no output was generated.dwmalone2007-06-222-5/+13
| | | | | | | | | | | 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
* Sort sections.ru2005-01-181-11/+11
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-2/+3
|
* The .Nm utilitycharnier2002-07-141-14/+14
|
* Mention the ``end of output'' for each periodic script.brian2002-05-141-0/+3
| | | | | | Submitted by: David Wolfskill <david@catwhisker.org> PR: 37036 MFC after: 1 week
* mdoc(7) police: fix markup in revision 1.25.ru2001-12-081-2/+2
|
* Long ago, there was just /etc/daily. Then /etc/security was split outcjc2001-12-071-0/+5
| | | | | | | | | | 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
* Add a BUGS section noting that the basename of a directory containingcjc2001-11-281-1/+10
| | | | | | periodic(8) scripts must be useable as a sh(1) variable. MFC after: 2 days
* mdoc(7) police: Fix markup.ru2001-11-201-40/+45
|
* mdoc(7) police: expand plain text xrefs.ru2001-08-081-1/+3
|
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: normalize .Nd.ru2001-04-181-2/+1
|
* Grammar police: "its", not "it's", is the possessive form of "it".dd2001-04-151-2/+2
|
* beforeinstall -> SCRIPTS.ru2001-04-071-6/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+1
| | | | - MAN[1-9] -> MAN.
* mdoc(7) police: fixed broken references.ru2001-01-161-1/+0
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-111-1/+1
|
* Properly fix the temporary file creation in the case of multiplekris2000-11-261-1/+1
| | | | | | command-line arguments. Noticed by: dynamo <dynamo@ime.net>
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Don't use a trivially predictable temporary filename and keep recreatingkris2000-11-021-2/+3
| | | | | | | 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>
* Fix a typobrian2000-09-201-1/+1
| | | | Spotted by: Manfred Antar <null@pozo.com>
* Put temporary output in ${TMPDIR:-/tmp}brian2000-09-192-7/+7
| | | | | | If $<basedir>_output is not set, don't redirect output PR: 21395
* Don't clobber $? before using it.brian2000-09-191-1/+2
| | | | Submitted by: James Barkley <jbarkley@wgate.com>
* Fix situations where none of the scripts executed produce output,brian2000-09-161-43/+54
| | | | | | | | | | | | | | 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
* Another overhaul of the periodic stuff.brian2000-09-142-46/+162
| | | | | | | | | | | | | | | 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
* Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.brian2000-06-232-10/+11
| | | | | | | 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
* Update periodic to use the function source_rc_confs thatnbm2000-04-271-0/+1
| | | | /etc/defaults/rc.conf now exports.
* export host after setting it.cpiazza2000-03-291-0/+1
| | | | | | | | This is needed so passwd diffs show the hostname instead of " passwd diffs:" PR: 17651 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* local_cron -> local_periodicghelmer1999-04-231-3/+3
| | | | PR: docs/11253
* Look in correct rc.conf file.jkh1999-02-142-5/+8
| | | | Submitted by: Kevin Street <street@iname.com
* Make periodic(8) and the security mailings reflect the full FQDN, as opposedbillf1999-01-011-2/+2
| | | | | | | | | 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
* Directories aren't executable.hoek1998-12-291-2/+2
| | | | | Submitted by: Dennis Glatting <dennis.glatting@software-munitions.com> (misc/9147)
* Misplaced comma.hoek1998-12-291-2/+2
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-3/+3
|
* Sort cross refereces in section SEE ALSO.wosch1997-09-291-3/+3
|
* Change local_cron to local_periodic.pst1997-08-192-4/+4
| | | | Submitted by: bde
* Use /etc/periodicpst1997-08-162-8/+8
|
* Fix mdoc directivesache1997-08-131-5/+7
|
* Back out the fancy directory sorting, it's more pain that its worth,pst1997-08-131-27/+4
| | | | | and it's there in the CVS repository in case someone things that this idea is superkeen.
* Incorporate some ideas that came up during discussion with msmith.pst1997-08-132-50/+109
|
* Initial import of periodic executable control program.pst1997-08-123-0/+174
OpenPOWER on IntegriCloud