summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/do_command.c
AgeCommit message (Expand)Author
2022-05-21repair a few more backwards compares that create headachesTheo de Raadt
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
2020-04-16Add a mechanism to prevent cron jobs from running concurrently.Todd C. Miller
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-06-13zap a stray ';' and make a comment less uglyTheo Buehler
2018-06-13Add crontab entry option -n for "No mail when run successful"job
2017-10-23Close cron sockets in child processes.friehm
2015-11-17Check pipe(2) return value; noticed by deraadt@Todd C. Miller
2015-11-15Clean up the remaining uses of stderr and perror() and use warn/errTodd C. Miller
2015-11-14Remove log_it() and call syslog(3) directly using the same format:Todd C. Miller
2015-11-09Remove unused xpid argument to log_it().Todd C. Miller
2015-11-04Change cron from including all headers in every file to only includingTodd C. Miller
2015-10-29Use stravis(3) instead of a homegrown vis-like function.Todd C. Miller
2015-10-25Remove cron.pid support. We still want to avoid multiple cronsTodd C. Miller
2015-10-23remove some more ifdef mazinessTed Unangst
2015-10-03There is no need to keep a global array of sysconf(_SC_OPEN_MAX) elementsTed Unangst
2015-10-03unifdef some features we will always have. ok benno zhukTed Unangst
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-23Remove the OK and ERR macros. They obfuscate the code and don'tTed Unangst
2015-01-23minor debug removal cleanupTed Unangst
2015-01-23remove debug code.Ted Unangst
2015-01-14Replace MAXHOSTNAMELEN with HOST_NAME_MAX+1 and MAXNAMLEN with NAME_MAXTodd C. Miller
2015-01-14Use HAVE_FOO for BSD-specific features instead of relying on theTodd C. Miller
2015-01-14Use standard types for wait, readdir, signals and pids.Todd C. Miller
2013-11-23obvious unsigned char cast for ctypeTheo de Raadt
2013-03-07Allow a '+' in the MAILTO email adress; from Constantine A. MureninTodd C. Miller
2011-08-22Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
2011-03-03Reset the SIGPIPE signal handler immediately before executing a command.Todd C. Miller
2010-12-14Use _exit() not exit() after forking. OK deraadt@Todd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-05-25Check fdopen() return value.Todd C. Miller
2007-04-10privledges -> privilegesMiod Vallat
2006-08-13Add Auto-Submitted header in generated mail as per RFC 3834.Todd C. Miller
2004-06-17UUpdate ISC copyright year to 2004Todd C. Miller
2004-06-06Fix typo in last commit for non-compiled code. Dmitry V. LevinTodd C. Miller
2004-06-03More changes from Dmitry V. Levin:Todd C. Miller
2004-04-26isalnum() does not match '_' so check it explicitly. This allows cronTodd C. Miller
2003-07-30Use (char *)NULL instead of (char *)0 in execl and execle; Andrey MatveevTodd C. Miller
2003-04-14Use setproctitle() instead of the CAPITALIZE_FOR_PS hack. InspiredTodd C. Miller
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
2002-08-08Move closelog() into log_close() function and call that insteadTodd C. Miller
2002-07-15fix typo (pw vs. pwd) in unused codeTodd C. Miller
2002-07-15Pass e->pwd to auth_setpwd() to avoid extra passwd lookup in BSD auth routinesTodd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-07-12Do not collapse \\ -> \ in a command, the shell will be unhappy withTodd C. Miller
2002-07-08Merge in some changes from Paul Vixie's tree; most are cosmeticTodd C. Miller
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-21Correctly close the writing end of the pipe when dup'ing the fd toTodd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries