crontab for FreeBSD

Gilbert T. Gutierrez, Jr. plug-discuss@lists.PLUG.phoenix.az.us
Wed, 30 May 2001 15:47:09 -0700


I believe that it should be in the following format...
#minute hour    mday    month   wday    who     command

For example to run mrtg every 5 minutes you would use the following line
*/5     *       *       *       *       root    /usr/local/bin/mrtg
/home/user1/mrtg.cfg

Gilbert

> Okay yet another stupid newbie question. I've gotten too used
> to/etc/cron.hourly it seems. Now I'm on a FreeBSD box and I can't seem
> to get a cron job to run hourly.
>
> I tried crontab -e
>
> then
>
> 0 * * * * ./filename
>
>
> only that doesn't seem to be working what am I doing wrong?
>
>
> Carl Parrish.