to run the cronjob every minutes then like:
# crontab -e
*/15 * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=xxx.com -update; /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=yyy.com -update
or look into the docu. man 5 crontab
best regards
Gregor Gruener
-----Original-Nachricht-----
Betreff: Cron Job?
Datum: Wed, 27 May 2009 22:32:04 +0200
Von: Jason Todd Slack-Moehrle <mailinglists@xxxxxxxxxxxxxxx>
An: CentOS mailing list <centos@xxxxxxxxxx>
Hi All,
How does one create a cron job that runs commands like:
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=xxx.com -update
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=yyy.com -update
Say every 15 mins?
-Jason
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos