Hi,
I have a cron job that runs [cmd=]wget -O - -q -t 1 http://www.example.com/mycron.php[/cmd]
cron log indicates:
httpd.access.log dos not have any entries.
However, if i run manually
then mycron.php is executed and httpd.access.log indicates that as well.
I have:
May you advice please what else has to be done to execute cron job commands in the same way as I do from command line.
Thanks a lot.
Yuriy.
I have a cron job that runs [cmd=]wget -O - -q -t 1 http://www.example.com/mycron.php[/cmd]
cron log indicates:
Code:
Nov 20 11:22:00 www /usr/sbin/cron[6483]: (www) CMD (wget -O - -q -t 1 [url]www.example.com/mycron.php[/url])
httpd.access.log dos not have any entries.
However, if i run manually
wget -O - -q -t 1 [url]http://www.example.com/mycron.php[/url]
then mycron.php is executed and httpd.access.log indicates that as well.
I have:
Code:
-rwxr-xr-x mycron.php
FreeBSD 7.1-RELEASE FreeBSD 7.1
Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.8e DAV/2 PHP/5.2.8 with Suhosin-Patch
Suhosin Patch 0.9.6.3
May you advice please what else has to be done to execute cron job commands in the same way as I do from command line.
Thanks a lot.
Yuriy.