summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/cron.c
AgeCommit message (Expand)Author
2017-10-23Close the socket (and dfd) in at(1) child processesJeremie Courreges-Anglas
2017-06-07In cron(8), require that crontab and at files in the spool be ownedTodd C. Miller
2017-06-05Set the group on cron's Unix domain socket _before_ making itTodd C. Miller
2016-01-11When caching the mtime of the spool directory and system crontab files,Todd C. Miller
2015-11-15Clean up the remaining uses of stderr and perror() and use warn/errTodd C. Miller
2015-11-14Cleanup from unifdef: set sact.sa_flags to SA_RESTART instead ofTodd C. Miller
2015-11-14Remove log_it() and call syslog(3) directly using the same format:Todd C. Miller
2015-11-12Use absolute paths in pathnames.h. There is no longer a need toTodd C. Miller
2015-11-12Move cron socket to /var/run/cron.sock. Client code will try the oldTodd C. Miller
2015-11-11Niether cron nor crontab need flock permission.Todd C. Miller
2015-11-11exit on pledge failure, oopsTheo de Raadt
2015-11-09Remove unused xpid argument to log_it().Todd C. Miller
2015-11-09Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improveTodd C. Miller
2015-11-09queue(3) instead of homegrown queues and lists. This also fixesTodd C. Miller
2015-11-06Use __progname instead of the homegrown ProgramName.Todd C. Miller
2015-11-04Change cron from including all headers in every file to only includingTodd C. Miller
2015-11-04Change some globals from extern to static when they are not usedTodd C. Miller
2015-10-31open_socket() is only used by cron proper so move to cron.cTodd C. Miller
2015-10-29remove unused variablesTodd C. Miller
2015-10-28pledgeTheo de Raadt
2015-10-26Use SOCK_NONBLOCK and SOCK_CLOEXEC instead of fcntl() calls.Todd C. Miller
2015-10-26Remove some useless defines and the set_cron_uid() function.Todd C. Miller
2015-10-25Remove cron.pid support. We still want to avoid multiple cronsTodd C. Miller
2015-10-03unifdef some features we will always have. ok benno zhukTed Unangst
2015-08-25Use ppoll(2) instead of poll(2). This has two benefits. Firstly,Todd C. Miller
2015-02-09correct copyright, upon approval from paul vixie via todd miller. theTheo de Raadt
2015-01-23braces to open a function go on their own line like god intendedTed Unangst
2015-01-23minor debug removal cleanupTed Unangst
2015-01-23remove debug code.Ted Unangst
2015-01-22delete useless casts. ok deraadt guenther millertTed Unangst
2015-01-14Use standard types for wait, readdir, signals and pids.Todd C. Miller
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