Searched refs:SPOOL_DIR (Results 1 – 6 of 6) sorted by relevance
| /freebsd/usr.sbin/cron/lib/ |
| H A D | misc.c | 204 if (stat(SPOOL_DIR, &sb) < OK && errno == ENOENT) { in set_cron_cwd() 205 warn("%s", SPOOL_DIR); in set_cron_cwd() 206 if (OK == mkdir(SPOOL_DIR, 0700)) { in set_cron_cwd() 207 warnx("%s: created", SPOOL_DIR); in set_cron_cwd() 208 stat(SPOOL_DIR, &sb); in set_cron_cwd() 210 err(ERROR_EXIT, "%s: mkdir", SPOOL_DIR); in set_cron_cwd() 214 err(ERROR_EXIT, "'%s' is not a directory, bailing out", SPOOL_DIR); in set_cron_cwd()
|
| /freebsd/usr.sbin/cron/cron/ |
| H A D | database.c | 62 if (stat(SPOOL_DIR, &statbuf) < OK) { in load_database() 63 log_it("CRON", getpid(), "STAT FAILED", SPOOL_DIR); in load_database() 149 if (!(dir = opendir(SPOOL_DIR))) { in load_database() 150 log_it("CRON", getpid(), "OPENDIR FAILED", SPOOL_DIR); in load_database()
|
| H A D | pathnames.h | 42 #define SPOOL_DIR "tabs" macro
|
| H A D | macros.h | 66 #define CRON_TAB(u) "%s/%s", SPOOL_DIR, u
|
| /freebsd/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);
|
| /freebsd/usr.sbin/cron/doc/ |
| H A D | CONVERSION | 26 COPIES them into a protected directory (CRONDIR/SPOOL_DIR in cron.h), named
|