aboutsummaryrefslogtreecommitdiff
path: root/etc/crontab
Commit message (Collapse)AuthorAgeFilesLines
* Remove HOME= - this has surprised me several times in the past.Brian Somers2009-06-141-1/+0
| | | | | | | | | PR: 132135 Submitted by: Craig Leres MFC after: 3 weeks Notes: svn path=/head/; revision=194170
* Clarify adjkerntz(8) note and use complete sentences in comments.Tom Hukins2002-11-221-6/+5
| | | | | | | | PR: misc/45493 Approved by: re (rwatson) Notes: svn path=/head/; revision=107171
* Move the sendmail -q from cron to periodic, as suggested by a few people.Peter Wemm2001-02-191-4/+0
| | | | | | | | This has the benefit of adding a random start time element as daily processing takes a different amount of time on different machines. Notes: svn path=/head/; revision=72677
* Manually run /usr/sbin/sendmail -q once a day. Folks seem to be tooPeter Wemm2001-02-151-0/+4
| | | | | | | | | | | trigger happy and turn off sendmail_enable entirely (instead of setting sendmail_flags to -q30m instead). I have seen boxes with things like daily run reports that have sat in mailq for 5 months. Since /usr/sbin/sendmail is actually mailwrapper, this should be safe for the other plugins that provide the sendmail calling interface. Notes: svn path=/head/; revision=72506
* Move the process of storing entropy from /dev/random and reseeding withDoug Barton2001-01-141-3/+3
| | | | | | | | | | | | | | | | | | | it at boot time closer to the way we want it to be in the final version. * Move the default directory to /var/db/entropy * Run the entropy saving cron job every 11 minutes. This seems to be a better default, although still bikeshed material. * Feed /dev/random some cheesy "entropy" from various commands and files before the disks are mounted. This gives /dev/random a better chance of running without blocking early. * Move the reseeding with previously stored entropy to the point immediately after the disks are mounted. * Make the harvesting script a little safer in regards to the possibility of accidentally overwriting something other than a regular file. Notes: svn path=/head/; revision=71014
* Add a system to save entropy from /dev/random periodically so thatDoug Barton2001-01-111-0/+3
| | | | | | | | | | | | | | | | | | | | | it can be used to reseed at boot time. This will greatly increase the chances that there will be sufficient entropy available at boot time to prevent long delays. For /etc/rc, remove the vmstat and iostat runs from the attempt to provide some cheesy randomness if the files fail, since those programs are dynamically linked, and ldd seems to want some randomness to do its magic. Guidance and parameters for this project were provided by Mark Murray, based on the requirements of the Yarrow algorithm. Some helpful suggestions for implementation (including the tip about iostat and vmstat) were provided by Sheldon Hearn. All blame for problems or mistakes is mine of course. Notes: svn path=/head/; revision=70922
* Revert back to rev 1.24 as we have not come to a consensus if is is OKDavid E. O'Brien2000-12-111-7/+4
| | | | | | | | | | for a hung `daily' run to keep a `weekly' run from happening. Same for `monthly'. We have always run `weekly' and `monthly' reguardless of the execution status of `daily'. Until there is some consensus we should not change the behavior. Notes: svn path=/head/; revision=69865
* Run all three maintenance script in succession, making sure they alwaysDag-Erling Smørgrav2000-12-111-4/+7
| | | | | | | | | run on the right day but never overlap. Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr> Notes: svn path=/head/; revision=69863
* On Sundays through Fridays, run daily at 03:01 am.Dag-Erling Smørgrav2000-12-101-2/+2
| | | | | | | | | | | | | | | On Saturdays, run daily and weekly sequentially, starting at 03:01 am. This prevents daily and weekly from overlapping, while running weekly as early as possible (i.e. as soon as daily finishes) to give it time to finish before monthly starts at 05:30 am. It's probably possible to do something similar with monthly, making it run as soon as daily (and possibly weekly, if the first of the month is a Saturday) finishes, but this is left as an exercise for the reader. Notes: svn path=/head/; revision=69819
* Run weekly a little bit later to give more time for daily to completeDavid E. O'Brien2000-12-081-1/+1
| | | | | | | (since it starts later now). Notes: svn path=/head/; revision=69753
* When to run the periodic/daily event has had several rounds of discussionDoug Barton2000-11-191-1/+1
| | | | | | | | | | | | | | | over the past couple years. The most recent came to the general consensus that this was the best time, but no one actually made the change, so I'll don my asbestos undies and dive in. Please note that this time was chosen with input from people in various countries with various methods and schedules for switching to and from DST. There is no perfect time to schedule this job that works for everyone, but this time both A) Works for more people, and B) Causes problems for fewer people. And, ultimately, you can always change it if you need to. Notes: svn path=/head/; revision=68911
* Another overhaul of the periodic stuff.Brian Somers2000-09-141-3/+3
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=65843
* This was a mixed bag of spaces and ^I's.David E. O'Brien1999-12-151-5/+5
| | | | Notes: svn path=/head/; revision=54645
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* Move cronjob up one minute to get it out of the 02:00-03:00 happy hourPoul-Henning Kamp1999-08-091-2/+2
| | | | | | | | | | of daylight savings changes. Submitted by: Doug <Doug@gorean.org> Reviewed by: phk Notes: svn path=/head/; revision=49578
* Run adjkerntz -a at 05:01 tooAndrey A. Chernov1998-03-301-2/+2
| | | | Notes: svn path=/head/; revision=34959
* Make the cutover to periodic and cron.d as discussed to death on committersPaul Traina1997-08-131-6/+6
| | | | | | | for the past week. Notes: svn path=/head/; revision=28144
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-231-1/+1
| | | | Notes: svn path=/head/; revision=23037
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Remove un-necessary comment.Nate Williams1997-01-061-2/+1
| | | | Notes: svn path=/head/; revision=21360
* Remove "msgs -c" line, already done in daily scriptAndrey A. Chernov1996-01-061-4/+1
| | | | Notes: svn path=/head/; revision=13287
* changed /etc/[daily,weekly,monthly] to not rotate the logfiles byThomas Graichen1996-01-051-2/+2
| | | | | | | | | | "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) Notes: svn path=/head/; revision=13249
* Add commented out msgs database cleanup to crontabAndrey A. Chernov1995-11-191-1/+4
| | | | | | | Add -f (silent) flag to msgs call for logins (commented out) Notes: svn path=/head/; revision=12392
* Eliminate two Subject: from *ly output, call sendmail root directlyAndrey A. Chernov1995-05-271-4/+4
| | | | Notes: svn path=/head/; revision=8785
* Call adjkerntz -a every half hour from 0 to 4 amAndrey A. Chernov1994-11-021-1/+6
| | | | Notes: svn path=/head/; revision=4092
* Remove adjkerntz callAndrey A. Chernov1994-11-011-6/+1
| | | | Notes: svn path=/head/; revision=4050
* Start adjkerntz at 3:01 instead of 3:00, it is too early for TZ change at 3:00Andrey A. Chernov1994-09-261-2/+2
| | | | Notes: svn path=/head/; revision=3121
* As a result of the distribution crontab, /usr/libexec/atrun was being runSean Vickery1994-04-151-3/+3
| | | | | | | | | 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. Notes: svn path=/head/; revision=1363
* This is Vixie cron 3.0. This version fixes all known security bugs.Guido van Rooij1994-01-221-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=1001
* atrun uncommented.Andrey A. Chernov1994-01-081-2/+2
| | | | | | | atrun interval changed to 5 minutes. Notes: svn path=/head/; revision=955
* Add adjkerntz to track time zone change.Andrey A. Chernov1994-01-041-1/+6
| | | | Notes: svn path=/head/; revision=931
* Cleaned up crontab from NetBSD, adjusted for FreeBSD.Rodney W. Grimes1993-07-191-7/+20
| | | | Notes: svn path=/head/; revision=151
* Initial import of 386BSD 0.1 othersrc/etcRodney W. Grimes1993-06-201-0/+7
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=37