summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/pathnames.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* retire the old cron socket path; ok jca millertderaadt2018-07-111-2/+1
|
* Use absolute paths in pathnames.h. There is no longer a need tomillert2015-11-121-52/+10
| | | | | | | | 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@
* Move cron socket to /var/run/cron.sock. Client code will try the oldmillert2015-11-121-3/+3
| | | | | | location if the new one doesn't exist for now. In order to allow the fchown() to succeed, cron now sets its effective gid to crontab. OK jca@ deraadt@
* Update CRONDIR comment to reality.millert2015-11-091-4/+5
|
* Rename AT_DIR -> AT_SPOOL and SPOOL_DIR -> CRON_SPOOL to improvemillert2015-11-091-7/+7
| | | | readability.
* Change some globals from extern to static when they are not usedmillert2015-11-041-29/+3
| | | | | outside their respective .c files. Also remove some unused defines. OK jung@
* Remove PIDDIR and PIDFILE missed in previous commit.millert2015-10-251-12/+1
|
* remove some more ifdef mazinesstedu2015-10-231-3/+1
|
* clear out some more legacy code and whatnottedu2015-10-061-9/+1
|
* correct copyright, upon approval from paul vixie via todd miller. thederaadt2015-02-091-5/+1
| | | | head copyright assertion was seperated from the remaining ones.
* Use HAVE_FOO for BSD-specific features instead of relying on themillert2015-01-141-3/+3
| | | | BSD macro from sys/param.h.
* crontab -e /tmp//crontab.ynUyD24939 versus /tmp/crontab.ynUyD24939.mglocker2007-02-131-2/+2
| | | | OK millert@
* UUpdate ISC copyright year to 2004millert2004-06-171-9/+9
| | | | | Remove unused macros Skip_Line and MkLower Remove trailing whitespace
* Sync with ISC cron-current + my at(1) integration.millert2003-02-201-23/+35
| | | | The at(1) code is now more tightly integrated into the cron codebase.
* Move contents of /var/at into /var/cron since at is now intergrated intomillert2003-02-191-6/+6
| | | | | | | | | | | | | | | | | 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
* Move atrun(8) functionality into cron(8) proper. This fixes themillert2002-07-151-3/+21
| | | | | | | | | | | | 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
* o Add _PATH_CRON_PID which is built up from PIDDIR and PIDFILE via stringmillert2002-07-091-1/+3
| | | | | | concatenation at compile time rather than run time. o Some minor cosmetic changes to simplify diffing.
* minor cosmetic change to reduce diffsmillert2002-07-081-1/+2
|
* crontab is no longer setuid root, it is now setgid crontab.millert2002-05-091-1/+7
| | | | | | | | | | | | | | | | 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.
* When becoming a daemon, dup stdin, stdout, and stderr to /dev/nullmillert2001-10-241-1/+5
| | | | | | 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.
* Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.millert2001-02-181-24/+27
| | | | I also fixed the signal handlers while I was at it.
* Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesderaadt1998-03-301-2/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+81