Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 16:57:57 +0000 (UTC)
From:      Duane Hill <d.hill@yournetplus.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: cron job every 5 hours
Message-ID:  <20070713165535.A43805@duane.dbq.yournetplus.com>
In-Reply-To: <000f01c7c56d$da44d640$0200a8c0@satellite>
References:  <000f01c7c56d$da44d640$0200a8c0@satellite>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 13 Jul 2007 at 12:50 -0400, dmehler26@woh.rr.com confabulated:

> Hello,
>   I want to run an updater script, every 5 hours and x minutes. I thought to 
> use:
>
> minute 5 * * * root path/to/scriptname

crontab(5):
   ...
   Steps are also permitted after an asterisk, so if you want to say
   ``every two hours'', just use ``*/2''.
   ...

So, my guess would be:

minute */5 * * * root path/to/scriptname

> but that looks like it only works once a day, i want it to go every 5 hours 
> not justa at 5 in the monrning.
> Thanks.
> Dave.

-----
  _|_
(_| |



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070713165535.A43805>