Searched refs:SPOOL_DIR (Results 1 - 5 of 5) sorted by relevance
/freebsd-10.0-release/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 | 54 /* before we start loading any data, do a stat on SPOOL_DIR 58 if (stat(SPOOL_DIR, &statbuf) < OK) { 59 log_it("CRON", getpid(), "STAT FAILED", SPOOL_DIR); 99 if (!(dir = opendir(SPOOL_DIR))) { 100 log_it("CRON", getpid(), "OPENDIR FAILED", SPOOL_DIR);
|
H A D | cron.h | 93 #define CRON_TAB(u) "%s/%s", SPOOL_DIR, u
|
/freebsd-10.0-release/usr.sbin/cron/lib/ |
H A D | misc.c | 209 /* CRONDIR okay (now==CWD), now look at SPOOL_DIR ("tabs" or some such) 211 if (stat(SPOOL_DIR, &sb) < OK && errno == ENOENT) { 212 warn("%s", SPOOL_DIR); 213 if (OK == mkdir(SPOOL_DIR, 0700)) { 214 warnx("%s: created", SPOOL_DIR); 215 stat(SPOOL_DIR, &sb); 217 err(ERROR_EXIT, "%s: mkdir", SPOOL_DIR); 221 err(ERROR_EXIT, "'%s' is not a directory, bailing out", SPOOL_DIR);
|
/freebsd-10.0-release/usr.sbin/cron/crontab/ |
H A D | crontab.c | 633 if (utimes(SPOOL_DIR, tvs) < OK) { 634 warn("can't update mtime on spooldir %s", SPOOL_DIR); 638 if (utime(SPOOL_DIR, NULL) < OK) { 639 warn("can't update mtime on spooldir %s", SPOOL_DIR);
|
Completed in 57 milliseconds