Subject: Re: cron that !
To: Richard Earnshaw <firstname.lastname@example.org>
From: Zafer Aydogan <email@example.com>
Date: 10/28/2004 12:00:39
yes it works :) ( with the asterix )
But i'm a little bit confused, because it works only as a user cron.
I tested it as root, but that was not working for somehow.
> On Thu, 2004-10-28 at 10:49, Chris Pinnock wrote:
> > On Thu, Oct 28, 2004 at 11:33:59AM +0200, Zafer Aydogan wrote:
> > > Hej Newsgroup,
> > >
> > > Why doesn't cron understand this:
> > >
> > > */5 * * * * command
> > >
> > > to repeat a command every 5 minutes ?
> > According to the manual page crontab(5) this should work.
> > Step values can be used in conjunction with ranges. Following a
> > with ``/<number>'' specifies skips of the number's value
> through the
> > range. For example, ``0-23/2'' can be used in the hours field to
> > ify command execution every other hour (the alternative in the V7
> > dard is ``0,2,4,6,8,10,12,14,16,18,20,22''). Steps are also
> > after an asterisk, so if you want to say ``every two hours'',
> just use
> > ``*/2''.
> It certainly works for me. In fact, the default root entry uses it for
> */10 * * * * /usr/libexec/atrun
> Check that you have permission to run cron jobs on the machine...