tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.sbin
/
cron
/
at
master
23 files
Makefile
Use absolute paths in pathnames.h. There is no longer a need to chdir(2) to the cron dir and cron(8) now changes to / via daemon(3). We no longer try to create/chmod the spool directories as they should be set correctly at install time. The setegid(crontab) has been moved to open_socket() so it is closer to the chmod(2) call that needs it. OK deraadt@ tedu@
10 years ago
atrun.c
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
client.c
Unused variable.
7 years ago
config.h
remove some more ifdef maziness
10 years ago
cron.8
I am retiring my old email address; replace it with my OpenBSD one.
7 years ago
cron.c
Add a missing check for negative tv_sec when setting the timeout. Also clear the entire timeout if the remaining time becomes negative instead of just clearing tv_sec or tv_nsec. OK cheloha@.
3 years ago
cron.h
Change cron from including all headers in every file to only including what each .c file needs. I have not removed cron.h since it will be used in a future clean up of the cron's .h files. OK nicm@
10 years ago
crontab.1
delete ridiculous DIAGNOSTICS section that goes without saying
6 years ago
crontab.5
rename the "options" field to "flags" (as suggested by millert): an optional options field was difficult to describe concisely;
6 years ago
crontab.c
reduce verbosity in usage and make it match SYNOPSIS; ok millert
4 years ago
database.c
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
6 years ago
do_command.c
repair a few more backwards compares that create headaches ok millert
3 years ago
entry.c
repair a few more backwards compares that create headaches ok millert
3 years ago
env.c
repair a few more backwards compares that create headaches ok millert
3 years ago
funcs.h
Add a mechanism to prevent cron jobs from running concurrently. This adds a new "-s" flag to the command field which indicates that only a single instance of the job should run concurrenty. OK beck@ job@ deraadt@
6 years ago
globals.h
Close the socket (and dfd) in at(1) child processes
8 years ago
job.c
Log skipped jobs in job_add() not job_runqueue(). We want to log when the job is added but will not be run, not every time the run queue is processed.
6 years ago
macros.h
Use absolute paths in pathnames.h. There is no longer a need to chdir(2) to the cron dir and cron(8) now changes to / via daemon(3). We no longer try to create/chmod the spool directories as they should be set correctly at install time. The setegid(crontab) has been moved to open_socket() so it is closer to the chmod(2) call that needs it. OK deraadt@ tedu@
10 years ago
misc.c
repair a few more backwards compares that create headaches ok millert
3 years ago
pathnames.h
retire the old cron socket path; ok jca millert
7 years ago
popen.c
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
6 years ago
structs.h
Add a mechanism to prevent cron jobs from running concurrently. This adds a new "-s" flag to the command field which indicates that only a single instance of the job should run concurrenty. OK beck@ job@ deraadt@
6 years ago
user.c
Add a mechanism to prevent cron jobs from running concurrently. This adds a new "-s" flag to the command field which indicates that only a single instance of the job should run concurrenty. OK beck@ job@ deraadt@
6 years ago