Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/usr.sbin/cron/Attic/crontab.5,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- src/usr.sbin/cron/Attic/crontab.5 1997/07/13 10:52:19 1.4 +++ src/usr.sbin/cron/Attic/crontab.5 1997/07/13 11:01:16 1.5 @@ -1,4 +1,4 @@ -.\" $NetBSD: crontab.5,v 1.4 1997/07/13 10:52:19 mouse Exp $ +.\" $NetBSD: crontab.5,v 1.5 1997/07/13 11:01:16 mouse Exp $ .\" .\"/* Copyright 1988,1990,1993,1994 by Paul Vixie .\" * All rights reserved @@ -148,6 +148,30 @@ field matches the current time. For exa ``30 4 1,15 * 5'' would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday. +.PP +Instead of the first five fields, one of eight special strings may appear: +.IP +.ta 1.5i +string meaning +.br +------ ------- +.br +@reboot Run once, at startup. +.br +@yearly Run once a year, "0 0 1 1 *". +.br +@annually (same as @yearly) +.br +@monthly Run once a month, "0 0 1 * *". +.br +@weekly Run once a week, "0 0 * * 0". +.br +@daily Run once a day, "0 0 * * *". +.br +@midnight (same as @daily) +.br +@hourly Run once an hour, "0 * * * *". +.br .SH EXAMPLE CRON FILE .nf @@ -185,6 +209,9 @@ Command output is mailed to the crontab mailed to a person other than the crontab owner (SysV can't do this), or the feature can be turned off and no mail will be sent at all (SysV can't do this either). +.PP +All of the `@' commands that can appear in place of the first five fields +are extensions. .SH AUTHOR .nf Paul Vixie