Searched refs:SPOOL_DIR (Results 1 - 5 of 5) sorted by relevance
/freebsd-current/usr.sbin/cron/cron/ |
H A D | pathnames.h | 28 * to; SPOOL_DIR, ALLOW_FILE, DENY_FILE, and LOG_FILE 42 #define SPOOL_DIR "tabs" macro
|
H A D | database.c | 58 /* before we start loading any data, do a stat on SPOOL_DIR 62 if (stat(SPOOL_DIR, &statbuf) < OK) { 63 log_it("CRON", getpid(), "STAT FAILED", SPOOL_DIR); 149 if (!(dir = opendir(SPOOL_DIR))) { 150 log_it("CRON", getpid(), "OPENDIR FAILED", SPOOL_DIR);
|
H A D | macros.h | 66 #define CRON_TAB(u) "%s/%s", SPOOL_DIR, u
|
/freebsd-current/usr.sbin/cron/lib/ |
H A D | misc.c | 202 /* CRONDIR okay (now==CWD), now look at SPOOL_DIR ("tabs" or some such) 204 if (stat(SPOOL_DIR, &sb) < OK && errno == ENOENT) { 205 warn("%s", SPOOL_DIR); 206 if (OK == mkdir(SPOOL_DIR, 0700)) { 207 warnx("%s: created", SPOOL_DIR); 208 stat(SPOOL_DIR, &sb); 210 err(ERROR_EXIT, "%s: mkdir", SPOOL_DIR); 214 err(ERROR_EXIT, "'%s' is not a directory, bailing out", SPOOL_DIR);
|
/freebsd-current/usr.sbin/cron/crontab/ |
H A D | crontab.c | 628 if (utime(SPOOL_DIR, NULL) < OK) { 629 warn("can't update mtime on spooldir %s", SPOOL_DIR);
|
Completed in 122 milliseconds