crontab for FreeBSD

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Gilbert T. Gutierrez, Jr.
Dátum:  
Tárgy: 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.