Koozali.org: home of the SME Server

Timed Events

geoff

Timed Events
« on: April 26, 2000, 12:51:03 PM »
Hello,

I just got a logging program that will take my Http logs and convert them to html. Problem is that I need to run the program manually when I want to do this. For example, i need to type "perl config.pl" to get the logs parsed and generated. I know that linux can do this automatically but I am unsure of what and how. I think it is something to do with cron is it not? Can someone help me so that I can get the access logs parsed every one hour.

-thanks
-=geoff

Charlie Brady

RE: Timed Events
« Reply #1 on: April 27, 2000, 08:13:45 AM »
geoff wrote:

> I just got a logging program that will take my Http logs and
> convert them to html. Problem is that I need to run the program
> manually when I want to do this. For example, i need to type
> "perl config.pl" to get the logs parsed and
> generated. I know that linux can do this automatically but I am
> unsure of what and how. I think it is something to do with cron
> is it not? Can someone help me so that I can get the access
> logs parsed every one hour.

You will need to set up a crontab for a user with privileges to read the http logs. The command to use is:

crontab -u xxxx -e

and the format of the line you need to create is described in "man crontab". Your local linux user group probably has a mailing lists where you will get advice and help with your sort of question.

Regards

Charlie