summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/pathnames.h
AgeCommit message (Collapse)Author
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
The at(1) code is now more tightly integrated into the cron codebase.
2003-02-19Move contents of /var/at into /var/cron since at is now intergrated intoTodd C. Miller
cron. When ISC cron 5.0 is out the integration will be even tighter. Also rename /var/cron/{allow,deny} -> /var/cron/cron.{allow,deny} for consistency with POSIX and at.{allow,deny} and install an empty cron.deny file (as we do at.deny) since crontab will require this in the near future for POSIX compliance. After a "make build" you can update your system as follows: # mv /var/at/* /var/cron # mv /var/cron/jobs /var/cron/atjobs # mv /var/cron.allow /var/cron/cron.allow # mv /var/cron.deny /var/cron/cron.deny # rm -rf /var/at # kill `cat /var/run/cron.pid` ; cron
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
long-standing annoyance that atrun's granularity is 10 minutes. Most at jobs run with a 1 minute granularity. Jobs submitted via "at now" or "batch" will run immediately. Includes a rewritten cron(8) man page. at(1) will be integrated more closely into cron at a future date. Upgrading notes: the atrun job in root's crontab should be removed. the /var/at/spool directory is no longer used
2002-07-09o Add _PATH_CRON_PID which is built up from PIDDIR and PIDFILE via stringTodd C. Miller
concatenation at compile time rather than run time. o Some minor cosmetic changes to simplify diffing.
2002-07-08minor cosmetic change to reduce diffsTodd C. Miller
2002-05-09crontab is no longer setuid root, it is now setgid crontab.Todd C. Miller
These changes were modelled after the Owl version of vixie-cron, but developed independently. Our crontab used to send cron SIGUSR1 to tell cron to reread the spool dir. Now that crontab is not setuid root this doesn't work. Instead, crontab pokes cron via a Unix domain socket located in the tabs dir. Please note, after these changes, the owner on user crontab files will have to be changed manually from root to the uid of the corresponding user for crontab to be usable. cron itself will accept tab files owned by either root or the user. Also, any /var/cron/{allow,deny} files must be readable by group crontab.
2001-10-24When becoming a daemon, dup stdin, stdout, and stderr to /dev/nullTodd C. Miller
Change an unsafe vfork() to fork() Fix dup2() usage--must check for oldd == newd case and no need to close oldd Fixes annoying messages from sendmail about stdout being closed.
2001-02-18Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.Todd C. Miller
I also fixed the signal handlers while I was at it.
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt