format of /etc/crontab?

Tom Rhodes trhodes at FreeBSD.org
Thu Jul 3 21:06:35 UTC 2003


[Moved to just -doc]

On Thu, 3 Jul 2003 13:54:36 -0700
Rich Morin <rdm at cfcl.com> wrote:

> The cron(8) man page (on my FreeBSD 4.7 system) says:
> 
>     Cron searches /var/cron/tabs for crontab files which are named after
>     accounts in /etc/passwd; crontabs found are loaded into memory.  Cron
>     also searches for /etc/crontab which is in a different format (see
>     crontab(5)).
> 
> The crontab(5) man page, however, says nothing about any differences in
> the file formats.  Instead, it appears to describe only the format that
> is used in /var/cron/tabs/* files.
> 
> I would like to know precisely how the format of /etc/crontab differs,
> but I can't find any man page that addresses this.  Help?
> 

To my knowledge, the only real difference is the 'who' field which
does not exist in user crontab files.  This field permits the root
user to specify which username the desired command is to run under.

Perhaps other people know more differences?

--
Tom Rhodes



More information about the freebsd-doc mailing list