crontab for FreeBSD

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Gilbert T. Gutierrez, Jr.
日付:  
題目: 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.