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
19 * $FreeBSD: src/usr.sbin/cron/cron/pathnames.h,v 1.5 1999/08/28 01:15:50 peter Exp $
20 * $DragonFly: src/usr.sbin/cron/cron/pathnames.h,v 1.2 2003/06/17 04:29:53 dillon Exp $
23 #if (defined(BSD)) && (BSD >= 199103) || defined(__linux) || defined(AIX)
28 /* CRONDIR is where crond(8) and crontab(1) both chdir
29 * to; SPOOL_DIR, ALLOW_FILE, DENY_FILE, and LOG_FILE
30 * are all relative to this directory.
32 #define CRONDIR "/var/cron"
35 /* SPOOLDIR is where the crontabs live.
36 * This directory will have its modtime updated
37 * whenever crontab(1) changes a crontab; this is
38 * the signal for crond(8) to look at each individual
39 * crontab file and reload those whose modtimes are
40 * newer than they were last time around (or which
41 * didn't exist last time around...)
43 #define SPOOL_DIR "tabs"
45 /* undefining these turns off their features. note
46 * that ALLOW_FILE and DENY_FILE must both be defined
47 * in order to enable the allow/deny code. If neither
48 * LOG_FILE or SYSLOG is defined, we don't log. If
49 * both are defined, we log both ways.
51 #define ALLOW_FILE "allow" /*-*/
52 #define DENY_FILE "deny" /*-*/
53 /*#define LOG_FILE "log"*/ /*-*/
55 /* where should the daemon stick its PID?
58 # define PIDDIR _PATH_VARRUN
60 # define PIDDIR "/etc/"
62 #define PIDFILE "%scron.pid"
64 /* 4.3BSD-style crontab */
65 #define SYSCRONTAB "/etc/crontab"
67 /* what editor to use if no EDITOR or VISUAL
68 * environment variable specified.
71 # define EDITOR _PATH_VI
73 # define EDITOR "/usr/ucb/vi"
77 # define _PATH_BSHELL "/bin/sh"
81 # define _PATH_DEFPATH "/usr/bin:/bin"