Other Help Topics :: Setting up a cron job



I need to run the statistics application Webalizer in command mode every hour. I know this:  0 1 * * * webalizer

I recall it is best with making a file with the command and then have this files executed on boot (by crond?), so the file runs webalize each hour.

But I recall no more the exact way.   :(  

I need to know

1) The name I have to call above file
2) where to put it
3) what to put in it
4) how to have the file executed on boot

or better :)

Hope someone has the time and effort to help me on this.

Thank you

I managed to install kcron and set this up. Hope it helps. :D

Which file can I now check to see the code?

Just command crontab -e
If I remember correctly you have to include the full path to commands in the cron entry, i.e. 0 1 * * * /full/path/to/webalizer
Quote (skaos @ July 16 2006,09:04)
If I remember correctly you have to include the full path to commands in the cron entry, i.e. 0 1 * * * /full/path/to/webalizer

OK, I did that.

After installing Kcron, the command crontab does not exist, but Kcron seem to work outside of crontab. Maybe it's using cron directly?

Next Page...
original here.