Hello Everyone,
First of all merry X-mas to all of you,
After installing serverSTAT 1.5 on my testserver which runs 5.12 Update2 and adding two cronjobs to run every 5 and 10 minutes I've decided to put it on my live server because everything worked just fine.
My live server is SME 5.5 Update2, the cronjobs I added in the follwing way (the same way as on the testserver):
Added two jobs:
touch /etc/e-smith/templates/etc/cron.d/servcron
and
touch /etc/e-smith/templates/etc/cron.d/servcron
I've editted those files and they look like this:
servcron (must run every 10 minutes)
*/10 * * * * root /usr/bin/lynx -dump
http://localhost/ServerStats/scripts/serv_cron.php > /dev/null
statcron (must run every 5 minutes)
*/5 * * * * root /usr/bin/lynx -dump
http://localhost/ServerStats/scripts/statcron_cron.php > /dev/null
After this I''ve expanded the templates like this
/sbin/e-smith/expand-template /etc/crond/statcron
and
/sbin/e-smith/expand-template /etc/cron.d/servcron
After this:
service crond restart
When I look in my log files from cron on the testserver I see that the files are executed every 5 and 10 minutes, and when I check it on my live server they are not, I've checked and double checked the file- and directory permissions but they are also the same as on my testserver.
The script I try to run is found on this page:
http://www.clook.net/freescripts/Looking forward to your replies,
Best regards.
Paul van Dun