SPOOL_DIR
#define CRON_TAB(u) "%s/%s", SPOOL_DIR, u
if (stat(SPOOL_DIR, &statbuf) < OK) {
log_it("CRON", getpid(), "STAT FAILED", SPOOL_DIR);
if (!(dir = opendir(SPOOL_DIR))) {
log_it("CRON", getpid(), "OPENDIR FAILED", SPOOL_DIR);
if (utimes(SPOOL_DIR, tvs) < OK) {
warn("can't update mtime on spooldir %s", SPOOL_DIR);
if (utime(SPOOL_DIR, NULL) < OK) {
warn("can't update mtime on spooldir %s", SPOOL_DIR);
if (stat(SPOOL_DIR, &sb) < OK && errno == ENOENT) {
warn("%s", SPOOL_DIR);
if (OK == mkdir(SPOOL_DIR, 0700)) {
warnx("%s: created", SPOOL_DIR);
stat(SPOOL_DIR, &sb);
err(ERROR_EXIT, "%s: mkdir", SPOOL_DIR);
err(ERROR_EXIT, "'%s' is not a directory, bailing out", SPOOL_DIR);