[CentOS] Cron Job?
Zack Colgan
security-watch-zack at clearbearing.comWed May 27 20:39:16 UTC 2009
- Previous message: [CentOS] Cron Job?
- Next message: [CentOS] Cron Job?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jason Todd Slack-Moehrle wrote: > 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 You could create a file in /etc/cron.d, say /etc/cron.d/awstats, with the following contents: */15 * * * * root /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=xxx.com -update */15 * * * * root /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=yyy.com -update -Zack
- Previous message: [CentOS] Cron Job?
- Next message: [CentOS] Cron Job?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list