#
1.10 |
|
16-Apr-2020 |
millert |
Add a mechanism to prevent cron jobs from running concurrently. 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@
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.9 |
|
13-Jun-2018 |
job |
Add crontab entry option -n for "No mail when run successful"
OK jmc@ millert@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.8 |
|
11-Jan-2016 |
millert |
When caching the mtime of the spool directory and system crontab files, stash a struct timespec, not just a time_t. Fixes a bug where cron could skip re-reading the spool after two consecutive changes.
|
#
1.7 |
|
09-Nov-2015 |
millert |
queue(3) instead of homegrown queues and lists. This also fixes some potential memory leaks in error paths. OK guenther@
|
#
1.6 |
|
04-Nov-2015 |
millert |
Change cron from including all headers in every file to only including 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@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.5 |
|
17-Jun-2004 |
millert |
UUpdate ISC copyright year to 2004 Remove unused macros Skip_Line and MkLower Remove trailing whitespace
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.4 |
|
15-Jul-2002 |
millert |
Move atrun(8) functionality into cron(8) proper. This fixes the long-standing annoyance that atrun's granularity is 10 minutes. Most at jobs run with a 1 minute granularity. Jobs submitted via "at now" or "batch" will run immediately. Includes a rewritten cron(8) man page. at(1) will be integrated more closely into cron at a future date.
Upgrading notes: the atrun job in root's crontab should be removed. the /var/at/spool directory is no longer used
|
#
1.3 |
|
08-Jul-2002 |
millert |
Merge in some changes from Paul Vixie's tree; most are cosmetic 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
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE
|
#
1.2 |
|
19-Feb-2001 |
millert |
Normalize the time in minutes to GMT so we can really catch DST changes (since time() does not change during a DST switch). This makes cron correctly detect DST changes. It does not fix the problem of wildcard jobs running multiple times. Also, don't rely on tm_gmtoff since that is non-standard (but use it when we have it).
|
#
1.1 |
|
18-Feb-2001 |
millert |
Update to ISC cron 4.0b1 + our patches. This is now under a BSD license. I also fixed the signal handlers while I was at it.
|
#
1.9 |
|
13-Jun-2018 |
job |
Add crontab entry option -n for "No mail when run successful"
OK jmc@ millert@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.8 |
|
11-Jan-2016 |
millert |
When caching the mtime of the spool directory and system crontab files, stash a struct timespec, not just a time_t. Fixes a bug where cron could skip re-reading the spool after two consecutive changes.
|
#
1.7 |
|
09-Nov-2015 |
millert |
queue(3) instead of homegrown queues and lists. This also fixes some potential memory leaks in error paths. OK guenther@
|
#
1.6 |
|
04-Nov-2015 |
millert |
Change cron from including all headers in every file to only including 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@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.5 |
|
17-Jun-2004 |
millert |
UUpdate ISC copyright year to 2004 Remove unused macros Skip_Line and MkLower Remove trailing whitespace
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.4 |
|
15-Jul-2002 |
millert |
Move atrun(8) functionality into cron(8) proper. This fixes the long-standing annoyance that atrun's granularity is 10 minutes. Most at jobs run with a 1 minute granularity. Jobs submitted via "at now" or "batch" will run immediately. Includes a rewritten cron(8) man page. at(1) will be integrated more closely into cron at a future date.
Upgrading notes: the atrun job in root's crontab should be removed. the /var/at/spool directory is no longer used
|
#
1.3 |
|
08-Jul-2002 |
millert |
Merge in some changes from Paul Vixie's tree; most are cosmetic 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
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE
|
#
1.2 |
|
19-Feb-2001 |
millert |
Normalize the time in minutes to GMT so we can really catch DST changes (since time() does not change during a DST switch). This makes cron correctly detect DST changes. It does not fix the problem of wildcard jobs running multiple times. Also, don't rely on tm_gmtoff since that is non-standard (but use it when we have it).
|
#
1.1 |
|
18-Feb-2001 |
millert |
Update to ISC cron 4.0b1 + our patches. This is now under a BSD license. I also fixed the signal handlers while I was at it.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.8 |
|
11-Jan-2016 |
millert |
When caching the mtime of the spool directory and system crontab files, stash a struct timespec, not just a time_t. Fixes a bug where cron could skip re-reading the spool after two consecutive changes.
|
#
1.7 |
|
09-Nov-2015 |
millert |
queue(3) instead of homegrown queues and lists. This also fixes some potential memory leaks in error paths. OK guenther@
|
#
1.6 |
|
04-Nov-2015 |
millert |
Change cron from including all headers in every file to only including 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@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.5 |
|
17-Jun-2004 |
millert |
UUpdate ISC copyright year to 2004 Remove unused macros Skip_Line and MkLower Remove trailing whitespace
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.4 |
|
15-Jul-2002 |
millert |
Move atrun(8) functionality into cron(8) proper. This fixes the long-standing annoyance that atrun's granularity is 10 minutes. Most at jobs run with a 1 minute granularity. Jobs submitted via "at now" or "batch" will run immediately. Includes a rewritten cron(8) man page. at(1) will be integrated more closely into cron at a future date.
Upgrading notes: the atrun job in root's crontab should be removed. the /var/at/spool directory is no longer used
|
#
1.3 |
|
08-Jul-2002 |
millert |
Merge in some changes from Paul Vixie's tree; most are cosmetic 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
|
Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE
|
#
1.2 |
|
19-Feb-2001 |
millert |
Normalize the time in minutes to GMT so we can really catch DST changes (since time() does not change during a DST switch). This makes cron correctly detect DST changes. It does not fix the problem of wildcard jobs running multiple times. Also, don't rely on tm_gmtoff since that is non-standard (but use it when we have it).
|
#
1.1 |
|
18-Feb-2001 |
millert |
Update to ISC cron 4.0b1 + our patches. This is now under a BSD license. I also fixed the signal handlers while I was at it.
|