PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Automat Webalizer



urbach
22.06.03, 14:59
I have webalizer install and running well, I can view my stats by entering PUTTY and then typing webalizer -c /etc/webalizer.urbachshop and goto my browser and view my stats. How can I have a automated file so that I dont have to enter that command in putty to view my stats?

Thanks
Steven

Andy09
22.06.03, 15:07
hi,

i think you can use cronjobs but i dont know the comand. the cronjob can start hourly, daily, and so on.

look for "man crontab"

Bye
Andy

dauni
22.06.03, 15:32
You can write for example a file with:


#!/bin/bash
webalizer -c /etc/webalizer.urbachshop

and put it in /etc/cron.daily or /etc/cron.hourly etc.

Don't forget to make it executable: chmod +x filename