Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-11-29 | crontab.c uses the rcsid in the crontab head comment so don't protect | Todd C. Miller | |
it from lint. Found by cloder@ | |||
2005-01-30 | Detect editors that move the edited file out from underneath us and warn. | Todd C. Miller | |
Based on an idea from Han Boetes. | |||
2004-11-04 | Treat EOF at prompt the same as 'n' instead of looping forever. | Todd C. Miller | |
Noticed by mepch@. OK pedro@ and deraadt@ | |||
2004-09-16 | ftruncate() with ftello() instead of ftell(); ok millert | Theo de Raadt | |
2004-06-22 | use snprintf(3) instead of home-grown glue_strings() function | Anil Madhavapeddy | |
millert@ ok | |||
2004-06-17 | UUpdate ISC copyright year to 2004 | Todd C. Miller | |
Remove unused macros Skip_Line and MkLower Remove trailing whitespace | |||
2003-07-30 | Use (char *)NULL instead of (char *)0 in execl and execle; Andrey Matveev | Todd C. Miller | |
2003-03-15 | Use strlcpy() instead of pre-checking the src len and using strcpy() | Todd C. Miller | |
2003-03-09 | Catch lines w/o EOF. Previously they were silently ignored. | Todd C. Miller | |
2003-02-20 | Sync with ISC cron-current + my at(1) integration. | Todd C. Miller | |
The at(1) code is now more tightly integrated into the cron codebase. | |||
2003-02-20 | If there is no cron.allow or cron.deny file, only the superuser may run | Todd C. Miller | |
the crontab command; for POSIX compliance. Create an empty cron.deny file to allow any user to run crontab: install -c -o root -g crontab -m 660 /dev/null /var/cron/cron.deny | |||
2003-02-18 | Use the SUN_LEN macro to set sun_len correctly | Todd C. Miller | |
2003-02-17 | Add a -n flag and version string; from vixie | Todd C. Miller | |
2002-08-10 | Just zero out pw_passwd in the pw_dup()'d copy. There's no need | Todd C. Miller | |
to do this elsewhere and my previous commit in this area caused problems on systems with an /etc/crontab file. | |||
2002-08-07 | paranoia: zero out pw_passwd since we don't need it | Todd C. Miller | |
2002-07-15 | Move atrun(8) functionality into cron(8) proper. This fixes the | Todd C. Miller | |
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 | |||
2002-07-11 | No need to compare sizes of new/old crontab file now that we | Todd C. Miller | |
stash the st_mtimespec of the original and use that to compare. | |||
2002-07-09 | o Rename clean_turds() in crontab.c to die() and just _exit(ERROR_EXIT) | Todd C. Miller | |
instead of resetting the signal handler to SIG_DFL and redelivering. o Use kill(2) instead of raise(3) (which is just a wrapper) | |||
2002-07-08 | Merge in some changes from Paul Vixie's tree; most are cosmetic | Todd C. Miller | |
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 | |||
2002-05-09 | nuke unused variable | Todd C. Miller | |
2002-05-09 | crontab is no longer setuid root, it is now setgid crontab. | Todd C. Miller | |
These changes were modelled after the Owl version of vixie-cron, but developed independently. Our crontab used to send cron SIGUSR1 to tell cron to reread the spool dir. Now that crontab is not setuid root this doesn't work. Instead, crontab pokes cron via a Unix domain socket located in the tabs dir. Please note, after these changes, the owner on user crontab files will have to be changed manually from root to the uid of the corresponding user for crontab to be usable. cron itself will accept tab files owned by either root or the user. Also, any /var/cron/{allow,deny} files must be readable by group crontab. | |||
2002-05-08 | o Use proper #defines; It is HAVE_*, not HAS_* | Todd C. Miller | |
o #ifdef out the -x flag getopt() stanza if not DEBUGGING | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-12-20 | Cause crontab to send SIGUSR1 when a user's crontab file has changed. | Todd C. Miller | |
In cron, this interrupts the sleep() in cron_sleep() and causes cron to check to see what signal woke it up and act appropriately. This makes crontab changes take effect more or immediately. | |||
2001-12-07 | do not call abort(), it is tasteless | Theo de Raadt | |
2001-11-17 | save errno in signal handler | Theo de Raadt | |
2001-10-24 | When becoming a daemon, dup stdin, stdout, and stderr to /dev/null | Todd C. Miller | |
Change an unsafe vfork() to fork() Fix dup2() usage--must check for oldd == newd case and no need to close oldd Fixes annoying messages from sendmail about stdout being closed. | |||
2001-08-19 | Better file change detection: | Todd C. Miller | |
o when copying to temp file set utimes on temp file equal to original o use st_mtimespec instead of st_mtime for better granularity | |||
2001-08-11 | If waitpid() returns -1, check for EINTR | Todd C. Miller | |
2001-07-09 | correct type on last arg to execl(); nordin@cse.ogi.edu | Theo de Raadt | |
2001-02-18 | Update to ISC cron 4.0b1 + our patches. This is now under a BSD license. | Todd C. Miller | |
I also fixed the signal handlers while I was at it. | |||
2000-08-21 | snprintf sprinkles; solar@false.com & I | Theo de Raadt | |
2000-08-21 | correct tmp file path; solar@false.com | Theo de Raadt | |
2000-08-21 | swap_uids_back; solar@false.com | Theo de Raadt | |
1999-11-20 | Use mkstemp() for the temp file created in the tabs dir and | Todd C. Miller | |
clean up the temp file nicely if we are interupted. | |||
1999-05-29 | Check size as well as mtime when deciding whether or not the file | Todd C. Miller | |
was changed during edit. Crontab patch from <andrew@untraceable.net>. It may be better to simply do a real compare inline. | |||
1999-05-23 | getopt(3) returns -1, not EOF | Aaron Campbell | |
1998-07-12 | disable debugging in crontab | Theo de Raadt | |
1997-04-12 | waitpid() can return -1 -- give a useful error message if it does. | Todd C. Miller | |
1997-04-12 | ign some signals for editor | Theo de Raadt | |
1997-04-12 | support SIGSTOP in editor, I cannot believe this has always been busted! | Theo de Raadt | |
1996-12-25 | no compile test after last change: no need for that umask too, i guess | Michael Shalayeff | |
1996-12-25 | do not need umask for mkstemp | Theo de Raadt | |
1996-11-01 | Check malloc/strdup ret val and deal. | Todd C. Miller | |
1996-10-31 | Proper strncpy() usage. | Todd C. Miller | |
1996-09-16 | umask != file mode | Todd C. Miller | |
1996-09-15 | use mkstemp; mentioned by sirsyko@ishiboo.com | Theo de Raadt | |
1996-08-07 | buf oflow, nice error message; from freebsd | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |