crontab for FreeBSD

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Gilbert T. Gutierrez, Jr.
Date:  
Subject: crontab for FreeBSD
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.