Re: Howto add a crontab job ?
On Mon, Nov 11, 2002 at 12:52:53PM +0000, Richard Kimber wrote:
> On Mon, 11 Nov 2002 04:43:22 +1100
> bob parker <bob_parker@dodo.com.au> wrote:
> > Here's an excerpt from my crontab
> >
> > # run every 5 minutes
> > */5 * * * * /home/bob/bin/getmail
>
> Don't you have to have the user in here?
Not unless you're /etc/crontab. See 'man 5 crontab':
The format of a cron command is very much the V7 standard, with
a number of upward-compatible extensions. Each line has five
time and date fields, followed by a command, followed by a new-
line character ('0). The system crontab (/etc/crontab) uses
the same format, except that the username for the command is
specified after the time and date fields and before the com-
mand.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: