Commit Graph

22 Commits

Author SHA1 Message Date
Brian Somers
9ed55d1192 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
David E. O'Brien
b506848ab8 This was a mixed bag of spaces and ^I's. 1999-12-15 17:58:29 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Poul-Henning Kamp
d30b372af7 Move cronjob up one minute to get it out of the 02:00-03:00 happy hour
of daylight savings changes.

Submitted by:	Doug <Doug@gorean.org>
Reviewed by:	phk
1999-08-09 19:56:29 +00:00
Andrey A. Chernov
76ee2baecf Run adjkerntz -a at 05:01 too 1998-03-30 09:17:25 +00:00
Paul Traina
00496c2855 Make the cutover to periodic and cron.d as discussed to death on committers
for the past week.
1997-08-13 06:12:05 +00:00
Peter Wemm
79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Nate Williams
d1cde7ab69 Remove un-necessary comment. 1997-01-06 04:27:21 +00:00
Andrey A. Chernov
011aa2cdb5 Remove "msgs -c" line, already done in daily script 1996-01-06 22:21:37 +00:00
Thomas Graichen
7c1caee10f changed /etc/[daily,weekly,monthly] to not rotate the logfiles by
"hand", changed /etc/crontab to call /usr/sbin/newsyslog every hour
(the entry was there before - but we haven't had any newsyslog until
today :-) and changed /etc/inetd.conf to also contain (commentet out)
entries for rpc.rquotad and rpc.sprayd (taken from NetBSD)
1996-01-05 10:09:13 +00:00
Andrey A. Chernov
cfc14c6f50 Add commented out msgs database cleanup to crontab
Add -f (silent) flag to msgs call for logins (commented out)
1995-11-19 17:21:13 +00:00
Andrey A. Chernov
4a0ff33b55 Eliminate two Subject: from *ly output, call sendmail root directly 1995-05-27 01:55:21 +00:00
Andrey A. Chernov
76a581c4ce Call adjkerntz -a every half hour from 0 to 4 am 1994-11-02 09:50:11 +00:00
Andrey A. Chernov
f34550da35 Remove adjkerntz call 1994-11-01 16:25:06 +00:00
Andrey A. Chernov
cc1ecf86f9 Start adjkerntz at 3:01 instead of 3:00, it is too early for TZ change at 3:00 1994-09-26 20:15:50 +00:00
Sean Vickery
a38822ea85 As a result of the distribution crontab, /usr/libexec/atrun was being run
only once an hour instead of every five minutes.  This was due to a minute
specification of 0/5 -- which should have been */5.  This has been fixed.
Expect your /var/cron/log to grow much faster now.
1994-04-15 16:57:38 +00:00
Guido van Rooij
3b15f669f7 This is Vixie cron 3.0. This version fixes all known security bugs.
Further it implements crontab -e.
I moved cron from /usr/libexec to /usr/sbin where most daemons are
that are run from rc. That also gets rid of the ugly path crond
used to have in ps(1) outputs. Further I renamed it to cron, as
Paul Vixie likes it and is done by NetBSD.

NOTE VERY WELL THE FOLLOWING:

1) Systems crontab changed. Every users crontab resides in /var/cron
   *EXCEPT* root's. This is a special crontab as it resides in
   /etc. Further it is the *ONLY* crontab file in which you specify
   usernames. See /usr/src/etc/crontab. This is also done by BSDI's
   BSD/386 as far as I know (they provided the patches for it anyway)
2) So you *must* delete root's crontab and reinstall the copy
   in /etc from /usr/src/etc.
   'Must' is to much: the old installed crontab will work but cron
   will also try to 'run' /etc/crontab.
3) Last but not least: cron's logging is now done via syslog. Note
   that logging by cron is done lowercase when it logs about itsself
   and uppercase when it logs user events, like installing a new crontab.
   The default logfile file is the same as before:
   	syslog.conf:cron.*	/var/cron/log

-Guido
1994-01-22 20:44:14 +00:00
Andrey A. Chernov
856dbbe55c atrun uncommented.
atrun interval changed to 5 minutes.
1994-01-08 15:07:43 +00:00
Andrey A. Chernov
c46c6603ec Add adjkerntz to track time zone change. 1994-01-04 17:50:25 +00:00
Rodney W. Grimes
8e3f273c63 Cleaned up crontab from NetBSD, adjusted for FreeBSD. 1993-07-19 19:08:04 +00:00
Rodney W. Grimes
1bf9d5d951 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00