From: mmaslano Date: Fri, 17 Aug 2007 12:53:37 +0000 (+0200) Subject: Features was added into manual. X-Git-Tag: v4.2~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ff26cfe84d14af46dcf8af39fba9c25534df6f7;p=cronie Features was added into manual. --- diff --git a/FEATURES b/FEATURES index a5cad09..aad1db0 100644 --- a/FEATURES +++ b/FEATURES @@ -82,3 +82,8 @@ Features of ISC cron relative to BSD 4.[23] and SysV crons: act this way and do the more reasonable thing, which is (IMHO) to "or" the various field-matches together. In that sense this cron may not be completely similar to some AT&T crons. + +-- If it exists, the /etc/cron.d/ directory is parsed like the cron + spool directory, except that the files in it are not user-specific + and are therefore read with /etc/crontab syntax (the user is + specified explicitly in the 6th column). diff --git a/cron.8 b/cron.8 index f248b72..18f1107 100644 --- a/cron.8 +++ b/cron.8 @@ -36,10 +36,11 @@ behavior causing it to run in the foreground. This can be useful when starting it out of init. .PP .I Cron -searches /var/cron/tabs for crontab files which are named after accounts in +searches /var/spool/cron for crontab files which are named after accounts in /etc/passwd; crontabs found are loaded into memory. .I Cron -also searches for /etc/crontab which is in a different format (see +also searches for /etc/crontab and the files in the /etc/cron.d directory, +which are in a different format (see .IR crontab (5)). .I Cron then wakes up every minute, examining all stored crontabs, checking each diff --git a/crontab.1 b/crontab.1 index 56c6c16..a3627d1 100644 --- a/crontab.1 +++ b/crontab.1 @@ -88,8 +88,8 @@ from the editor, the modified crontab will be installed automatically. crontab(5), cron(8) .SH FILES .nf -/var/cron/cron.allow -/var/cron/cron.deny +/etc/cron.allow +/etc/cron.deny .fi .SH STANDARDS The diff --git a/crontab.5 b/crontab.5 index ccc1821..9e1889c 100644 --- a/crontab.5 +++ b/crontab.5 @@ -86,8 +86,15 @@ when the minute, hour, and month of year fields match the current time, .I and when at least one of the two day fields (day of month, or day of week) match the current time (see ``Note'' below). +Note that this means that non-existant times, such as "missing hours" +during daylight savings conversion, will never match, causing jobs +scheduled during the "missing times" not to be run. Similarly, times +that occur more than once (again, during daylight savings conversion) +will cause matching jobs to be run twice. +.PP .IR cron (8) examines cron entries once every minute. +.PP The time and date fields are: .IP .ta 1.5i @@ -101,7 +108,7 @@ hour 0-23 .br day of month 1-31 .br -month 0-12 (or names, see below) +month 1-12 (or names, see below) .br day of week 0-7 (0 or 7 is Sun, or use names) .br @@ -164,6 +171,9 @@ MAILTO=paul 23 0-23/2 * * * echo "run 23 minutes after midn, 2am, 4am ..., everyday" 5 4 * * sun echo "run at 5 after 4 every sunday" .fi +.SH FILES +/etc/crontab System crontab file + .SH SEE ALSO cron(8), crontab(1) .SH EXTENSIONS