Welcome to WebmasterWorld Guest from 184.108.40.206 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Crontab, how? Doom msg:914019 6:38 pm on Mar 13, 2004 (gmt 0) 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..
SeanW msg:914020 6:49 pm on Mar 13, 2004 (gmt 0)
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.
Doom msg:914021 6:51 pm on Mar 13, 2004 (gmt 0)
thnks..i'll check somewhere to understund those "0 * * * *" thanks. Duckula msg:914022 8:35 pm on Mar 13, 2004 (gmt 0)
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".