hey,
my cron job is 'php -q /home/friends1/public_html/perodic/cron.php'
and the error i am getting is '
|
/bin/sh: access-logs: command not found
|
'
Please help
hey,
my cron job is 'php -q /home/friends1/public_html/perodic/cron.php' and the error i am getting is '
' Please help | |
Your cron job command should like this: * * * * * cd /home/friends1/public_html/perodic; /usr/bin/php -q cron.php PS: If possible do not write me personally, please try to ask on the forum first | |
Sir,
my web host told me that its like this only...... | |
Sir,
When i tried your cron job i got this error "
| |
ok just ask your hosting team that they make possibility start this file : /home/friends1/public_html/perodic/cron.php every time ( * * * * * ) PS: If possible do not write me personally, please try to ask on the forum first | |
Instead of "'php -q /home/friends1/public_html/perodic/cron.php'", use the absolute path for php binary. That will work. ---- | |
Sir, My cron job is * * * * * cd /home/friends1/public_html/periodic; /usr/local/bin/php -q cron.php The error mail i am getting is /bin/sh: access-logs: command not found
the other cron job is * * * * */usr/local/bin/php/home/friends1/public_html/perodic/cron.php the error mail is /bin/sh: access-logs: command not found
cron.php....permissions 777 | |
Sir, I guess my cron.php has something wrong in it. As everything else seems to be fine.
Regards, Vishesh
|