Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: DarkskyZ on October 13, 2003, 04:16:52 PM
-
Hi all,
I just found what I have been looking for for weeks, a good download stats sumarizer : IOG. I have followed contribs.org howto but I keep getting an error message every hour while cron should load the perl script.
The message is as follows :
"/bin/bash: /opt/iog/iog: /usr/bin/perl: bad interpreter: Permission denied "
So I have tried lauching the scripts manually from bash using : "perl /opt/iog/iog" and then it works.
My cron template contains the following :
0 * * * * root /opt/iog/iog
Did I miss something ? Your help is welcome as I really want to make it work.
Thanks in advance,
DarkskyZ
Remove _noSPAM_ for email answers
-
Well I solved the problem on my own ;o)
Surfing the web I found an article about scripts that have to be chmod 755 to be launched by cron. So I just made the script chmod 755 and now it works !
DarkskyZ