1 /* Copyright 1993,1994 by Paul Vixie
4 * Distribute freely, except: don't remove my name from the source or
5 * documentation (don't take credit for my work), mark your changes (don't
6 * get me blamed for your possible bugs), don't alter or remove this
7 * notice. May be sold if buildable source is provided to buyer. No
8 * warrantee of any kind, express or implied, is included with this
9 * software; use at your own risk, responsibility for damages (if any) to
10 * anyone resulting from the use of this software rests entirely with the
13 * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
14 * I'll try to keep a version up to date. I can be reached as follows:
15 * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul
22 #if (defined(BSD)) && (BSD >= 199103) || defined(__linux) || defined(AIX)
27 /* CRONDIR is where crond(8) and crontab(1) both chdir
28 * to; SPOOL_DIR, ALLOW_FILE, DENY_FILE, and LOG_FILE
29 * are all relative to this directory.
31 #define CRONDIR "/var/cron"
34 /* SPOOLDIR is where the crontabs live.
35 * This directory will have its modtime updated
36 * whenever crontab(1) changes a crontab; this is
37 * the signal for crond(8) to look at each individual
38 * crontab file and reload those whose modtimes are
39 * newer than they were last time around (or which
40 * didn't exist last time around...)
42 #define SPOOL_DIR "tabs"
44 /* undefining these turns off their features. note
45 * that ALLOW_FILE and DENY_FILE must both be defined
46 * in order to enable the allow/deny code. If neither
47 * LOG_FILE or SYSLOG is defined, we don't log. If
48 * both are defined, we log both ways.
50 #define ALLOW_FILE "allow" /*-*/
51 #define DENY_FILE "deny" /*-*/
52 /*#define LOG_FILE "log"*/ /*-*/
54 /* where should the daemon stick its PID?
57 # define PIDDIR _PATH_VARRUN
59 # define PIDDIR "/etc/"
61 #define PIDFILE "%scron.pid"
63 /* 4.3BSD-style crontab */
64 #define SYSCRONTAB "/etc/crontab"
66 /* what editor to use if no EDITOR or VISUAL
67 * environment variable specified.
70 # define EDITOR _PATH_VI
72 # define EDITOR "/usr/ucb/vi"
76 # define _PATH_BSHELL "/bin/sh"
80 # define _PATH_DEFPATH "/usr/bin:/bin"