Commit Graph

22 Commits

Author SHA1 Message Date
brian
0c4a93afb3 Fix a typo
Spotted by: Manfred Antar <null@pozo.com>
2000-09-20 19:59:44 +00:00
brian
cdad9fdf87 Put temporary output in ${TMPDIR:-/tmp}
If $<basedir>_output is not set, don't redirect output

PR:	21395
2000-09-19 22:15:00 +00:00
brian
b0edc06581 Don't clobber $? before using it.
Submitted by:	James Barkley <jbarkley@wgate.com>
2000-09-19 21:46:54 +00:00
brian
28ca59bb84 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
2000-09-16 21:59:34 +00:00
brian
1de91cddf9 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
2000-09-14 17:19:15 +00:00
brian
57fb7ca91f 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
2000-06-23 01:18:31 +00:00
nbm
3bac5ad2f8 Update periodic to use the function source_rc_confs that
/etc/defaults/rc.conf now exports.
2000-04-27 17:11:03 +00:00
cpiazza
c63d2f854d 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>
2000-03-29 07:05:29 +00:00
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
ghelmer
65236ba1ab local_cron -> local_periodic
PR:		docs/11253
1999-04-23 18:26:55 +00:00
jkh
05a05db279 Look in correct rc.conf file.
Submitted by:	Kevin Street <street@iname.com
1999-02-14 20:06:02 +00:00
billf
a683cb9cde 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
1999-01-01 17:37:33 +00:00
hoek
78c2e3578a Directories aren't executable.
Submitted by:	Dennis Glatting <dennis.glatting@software-munitions.com>
		(misc/9147)
1998-12-29 22:48:54 +00:00
hoek
23a36af483 Misplaced comma. 1998-12-29 22:45:15 +00:00
charnier
c94dce23b1 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
wosch
b215fc2e1e Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
pst
b004d0b139 Change local_cron to local_periodic.
Submitted by:	bde
1997-08-19 16:49:35 +00:00
pst
fee67110ff Use /etc/periodic 1997-08-16 17:08:35 +00:00
ache
2f7323efdc Fix mdoc directives 1997-08-13 16:27:59 +00:00
pst
173a3e2bb3 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.
1997-08-13 06:23:54 +00:00
pst
0742607c97 Incorporate some ideas that came up during discussion with msmith. 1997-08-13 06:02:18 +00:00
pst
2b36cb62ca Initial import of periodic executable control program. 1997-08-12 17:48:49 +00:00