Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Crontab, how? Doom
I would wanna add some job to crontab..but i realy dont know how or what file ... i tryed something with crontab -e , but then VI editor opens and then i've to terminate it..dont know how to fix it...but anyway i want to add
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl perl awstats.pl -update -config=host
to crontab and to start that every 60 minutes..
This article might help on the syntax of a crontab:
The EDITOR environment variable specifies what editor is launched, the default being vi
might be more friendly to you...
The crontab you want is
0 * * * * /usr/local/awstats/blahblah
which will start it on the hour, every hour.
thnks..i'll check somewhere to understund those "0 * * * *" thanks. Duckula
to understund those "0 * * * *"
'man 5 crontab'
It means: "at minute 0, every hour, every day of the month, every month, every day of the week".