summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
AgeCommit message (Expand)Author
2023-05-08cron: bounds check the high and low bounds for in a random range.Todd C. Miller
2023-05-07cron: check for garbage after the '~' in a random range.Todd C. Miller
2023-05-06Support random offsets when using ranges with a step value in cron.Todd C. Miller
2023-05-05crontab: move spool temp file creation to spool_mkstemp()Todd C. Miller
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
2022-07-08Add a missing check for negative tv_sec when setting the timeout.Todd C. Miller
2022-07-07If ppoll(2) exits, log to syslog(3) instead of stderrJeremie Courreges-Anglas
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
2022-01-21Treat ppoll(2) errors as fatal. OK deraadt@Todd C. Miller
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-06-22reduce verbosity in usage and make it match SYNOPSIS;Jason McIntyre
2020-04-18rename the "options" field to "flags" (as suggested by millert): an optionalJason McIntyre
2020-04-18Rewrite the flag-parsing code to be getopt-like. Tight formations likeTheo de Raadt
2020-04-17Log skipped jobs in job_add() not job_runqueue().Todd C. Miller
2020-04-16Reflow text so that the -[nsq] options are described as an optional [options]Theo de Raadt
2020-04-16Add a mechanism to prevent cron jobs from running concurrently.Todd C. Miller
2020-04-15Add support for random values using the '~' operator.Todd C. Miller
2020-02-11Remove setlocale(3) calls. I checked that no functions are called thatIngo Schwarze
2020-01-06Add "-n" to EXAMPLES in crontab(5)'s man pagejob
2020-01-06delete ridiculous DIAGNOSTICS section that goes without sayingIngo Schwarze
2019-10-20Use strtonum(3) in atrun. Also limit uid/gid to UID_MAX-1 andTodd C. Miller
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2018-07-13Unused variable.Kenneth R Westerback
2018-07-11retire the old cron socket path; ok jca millertTheo de Raadt
2018-06-13zap a stray ';' and make a comment less uglyTheo Buehler
2018-06-13avoid a double flag;Jason McIntyre
2018-06-13Add crontab entry option -n for "No mail when run successful"job
2018-02-05Pass a FILE * instead of a file descriptor into load_user() andTodd C. Miller
2017-10-25Open a bunch of fds with O_CLOEXECJeremie Courreges-Anglas
2017-10-23Close the socket (and dfd) in at(1) child processesJeremie Courreges-Anglas
2017-10-23Close cron sockets in child processes.friehm
2017-06-08update permissions info to match recent changesTodd C. Miller
2017-06-08Add logging for when we find a non-file in the at spool that wasTodd C. Miller
2017-06-07In cron(8), require that crontab and at files in the spool be ownedTodd C. Miller
2017-06-07When running at jobs, open the at spool and use the directory fdTodd C. Miller
2017-06-05Set the group on cron's Unix domain socket _before_ making itTodd C. Miller
2016-10-12Document the "-q " prefix accepted in the "command" field.Ingo Schwarze
2016-08-30Fix fd leak on error. OK jsg@Todd C. Miller
2016-01-11When caching the mtime of the spool directory and system crontab files,Todd C. Miller
2015-11-17Check pipe(2) return value; noticed by deraadt@Todd C. Miller
2015-11-17Check for setgid() failure before executing editor and warn ifTodd 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-12new location for cron sockets; ok millertJason McIntyre
2015-11-12Use absolute paths in pathnames.h. There is no longer a need toTodd C. Miller
2015-11-12Remove SIGNALS section now that the non-syslog code has been removed.Todd C. Miller