|
Crontab
I'm having a problem with crontab. I'm using the below cron file, called stats.cron, where most of the entries are supposed to generate HTML files (for the program awstats)
For some strange reason, cron only executes the first two commands successfully. It looks like all the other entries are skipped and not executed.
When using the "/usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert .........." separately on my machine, it executes perfectly.
I do crontab stats.cron and then verify if it is correct through crontab -l. It shows the content of the file.
- anyone can see a mistake in the below file
- is there a place where I can find debug info on cron?
1 0-23/1 * * * /usr/bin/webalizer
5 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -update
7 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=allhosts -staticlinks>awstats.wauters-mannaert.allhosts.html
7 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=lasthosts -staticlinks>awstats.wauters-mannaert.lasthosts.html
7 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=unknownip -staticlinks>awstats.wauters-mannaert.unknownip.html
7 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=alllogins -staticlinks>awstats.wauters-mannaert.alllogins.html
8 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=lastlogins -staticlinks>awstats.wauters-mannaert.lastlogins.html
8 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=allrobots -staticlinks>awstats.wauters-mannaert.allrobots.html
8 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=lastrobots -staticlinks>awstats.wauters-mannaert.robots.html
8 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=urldetail -staticlinks>awstats.wauters-mannaert.urldetail.html
9 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=urlentry -staticlinks>awstats.wauters-mannaert.urlentry.html
9 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=urlexit -staticlinks>awstats.wauters-mannaert.urlexit.html
9 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=browserdetail -staticlinks > awstats.myvirtualhostname.browserdetail.html
9 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=osdetail -staticlinks>awstats.wauters-mannaert.osdetail.html
10 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=unknownbrowsers -staticlinks > awstats.wauters-mannaert.unknownbrowsers.html
10 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=unknownos -staticlinks>awstats.wauters-mannaert.unknownos.html
10 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=refererse -staticlinks>awstats.wauters-mannaert.refererse.html
10 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=refererpages -staticlinks>awstats.wauters-mannaert.refererpages.html
10 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=keyphrases -staticlinks > awstats.wauters-mannaert.keyphrases.html
10 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=keywords -staticlinks > awstats.wauters-mannaert.keywords.html
10 0-23/1 * * * /usr/local/apache/cgi-bin/awstats.pl -config=wauters-mannaert -output=errors404 -staticlinks > awstats.wauters-mannaert.errors404.html
|