summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/cron.c
AgeCommit message (Expand)Author
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-10-29use poll() instead of the select malloc/free dance which was used toTheo de Raadt
2013-04-17Adapt cron and at for future large time_t and tv_sec types. These were someTheo de Raadt
2011-08-22Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
2011-01-18Our crontab(1) hasn't used SIGUSR1 to signal cron in years, we now useTodd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-01-29tweak usage()Igor Sobrado
2007-02-18tidy up synopsis and usage();Jason McIntyre
2005-11-15More typos (especially indicies -> indices), checked with jmc@Miod Vallat
2005-11-15If two or more changes are made withing a single second it is possibleTodd C. Miller
2004-06-17UUpdate ISC copyright year to 2004Todd C. Miller
2004-06-03More changes from Dmitry V. Levin:Todd C. Miller
2004-05-13If we get EAGAIN reading from the cron socket check both cron andTodd C. Miller
2004-05-03Make socket that reads reload requests from crontab be non-blocking.Todd C. Miller
2003-03-10Log that cron started up after we detach from the controlling terminalTodd C. Miller
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
2003-02-18correct a typo from earlier todayTodd C. Miller
2003-02-17Add a -n flag and version string; from vixieTodd C. Miller
2002-08-08Make wakeupKind an enum for clarity at Vixie's requestTodd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-07-09o Add _PATH_CRON_PID which is built up from PIDDIR and PIDFILE via stringTodd C. Miller
2002-07-08Merge in some changes from Paul Vixie's tree; most are cosmeticTodd C. Miller
2002-05-28use %ld (long) for pidTheo de Raadt
2002-05-22Remove pid file if sent SIGINT or SIGTERM before exiting.Todd C. Miller
2002-05-21Better handling of negative timeval than last commit.Todd C. Miller
2002-05-20Add a check for negative values in struct timeval after the timersub().Todd C. Miller
2002-05-09crontab is no longer setuid root, it is now setgid crontab.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-20Cause crontab to send SIGUSR1 when a user's crontab file has changed.Todd C. Miller
2001-12-11If we receive a signal during the sleep(), run signal handlers asTodd C. Miller
2001-10-24When becoming a daemon, dup stdin, stdout, and stderr to /dev/nullTodd C. Miller
2001-08-11If waitpid() returns -1, check for EINTRTodd C. Miller
2001-07-13flags set in signal handlers should be volatile sig_atomic_tTodd C. Miller
2001-02-21Add back code in find_jobs() that got dropped in cron merge.Todd C. Miller
2001-02-20Turn get_gmtoff into a macro for OSes with tm_gmtoff (like OpenBSD).Todd C. Miller
2001-02-19Normalize the time in minutes to GMT so we can really catch DST changesTodd C. Miller
2001-02-18Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.Todd C. Miller
2001-01-19mark remaining signal races which are difficult to fixTheo de Raadt
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-08-21save errno in handlerTheo de Raadt
1999-05-23getopt(3) returns -1, not EOFAaron Campbell
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1997-12-22handle timing normally except when clock jumps between 1 and 3 hours. If itTheo de Raadt
1997-08-04save errno in sigchld handlersTheo de Raadt
1996-09-15print debugging flags in usage(); idea from freebsdTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt