summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/job.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Log skipped jobs in job_add() not job_runqueue().millert2020-04-171-5/+7
| | | | | We want to log when the job is added but will not be run, not every time the run queue is processed.
* Add a mechanism to prevent cron jobs from running concurrently.millert2020-04-161-5/+60
| | | | | | This adds a new "-s" flag to the command field which indicates that only a single instance of the job should run concurrenty. OK beck@ job@ deraadt@
* queue(3) instead of homegrown queues and lists. This also fixesmillert2015-11-091-14/+9
| | | | some potential memory leaks in error paths. OK guenther@
* Change cron from including all headers in every file to only includingmillert2015-11-041-2/+11
| | | | | what each .c file needs. I have not removed cron.h since it will be used in a future clean up of the cron's .h files. OK nicm@
* correct copyright, upon approval from paul vixie via todd miller. thederaadt2015-02-091-5/+1
| | | | head copyright assertion was seperated from the remaining ones.
* braces to open a function go on their own line like god intendedtedu2015-01-231-3/+5
|
* delete useless casts. ok deraadt guenther millerttedu2015-01-221-2/+2
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-5/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* UUpdate ISC copyright year to 2004millert2004-06-171-10/+10
| | | | | Remove unused macros Skip_Line and MkLower Remove trailing whitespace
* Sync with ISC cron-current + my at(1) integration.millert2003-02-201-2/+3
| | | | The at(1) code is now more tightly integrated into the cron codebase.
* More syncing with my cron 4.0 patch tree, basically cosmetic:millert2002-07-111-4/+4
| | | | | | o change an instance of e_none to e_memory that I missed (forgot?) o kill some whitespace o modify malloc failure recovery a bit
* Merge in some changes from Paul Vixie's tree; most are cosmeticmillert2002-07-081-15/+6
| | | | | | | | | | | o ANSI function headers o return (foo) not return foo o add -oi to sendmail flags o update email address in man pages o make some strings const o completely remove globbing cruft from popen.c o whitespace changes o add DOW_STAR to flags for "monthly", "weekly", and "daily" cron entries
* Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.millert2001-02-181-23/+31
| | | | I also fixed the signal handlers while I was at it.
* Check malloc/strdup ret val and deal.millert1996-11-011-2/+3
|
* initial import of NetBSD treederaadt1995-10-181-0/+74