Searched refs:CRONDIR (Results 1 – 4 of 4) sorted by relevance
| /netbsd/src/external/bsd/cron/dist/ |
| D | misc.c | 224 if (stat(CRONDIR, &sb) < OK && errno == ENOENT) { in set_cron_cwd() 225 warn("Cannot stat `%s'", CRONDIR); in set_cron_cwd() 226 if (OK == mkdir(CRONDIR, 0710)) { in set_cron_cwd() 227 (void)fprintf(stderr, "%s: created\n", CRONDIR); in set_cron_cwd() 228 if (stat(CRONDIR, &sb) == -1) in set_cron_cwd() 229 err(ERROR_EXIT, "cannot stat `%s'", CRONDIR); in set_cron_cwd() 231 err(ERROR_EXIT, "cannot create `%s'", CRONDIR); in set_cron_cwd() 236 CRONDIR); in set_cron_cwd() 239 if (chdir(CRONDIR) < OK) { in set_cron_cwd() 240 err(ERROR_EXIT, "cannot chdir `%s', bailing out.\n", CRONDIR); in set_cron_cwd() [all …]
|
| D | pathnames.h | 35 #ifndef CRONDIR 40 #define CRONDIR "/var/cron" macro
|
| D | CONVERSION | 27 COPIES them into a protected directory (CRONDIR/SPOOL_DIR in cron.h), named
|
| D | crontab.c | 581 (void)snprintf(n2, sizeof(n2), "%s/%s", CRONDIR, MAXTABSIZE_FILE); in getmaxtabsize()
|