hello, i have a serius problem with cron, when i run my php file manually from shell runs fine, but when i run from cron runs poorly, ive made a bash script to do this job.
this is a extract of the code:
-rit )
cd /home/legalint/public_html/robot/
php -f robot_LegalInt.php
;;
so, when i call the script from shell robot -rit, says
---------------------------------------------------------
C-4370-2009 | (Causa 1 de 291)
Bytes Actuales: 480924
Bytes en Bd: 480924
CABELLO INMOBILIARIA BOS
2 Juzgado Civil de Chillan
------------------------------------------------------------
when i run this comand (robot -rit) from cpanel cron job, says
---------------------------------------------------------
C-4370-2009 | (Causa 1 de 291)
Bytes Actuales:
Bytes en Bd: 480924
CABELLO INMOBILIARIA BOS
2 Juzgado Civil de Chillan
------------------------------------------------------------
the Bytes Actuales: is empty...
why works when i ran from shell directly, and doesnt work from cron?
thanks
this is a extract of the code:
-rit )
cd /home/legalint/public_html/robot/
php -f robot_LegalInt.php
;;
so, when i call the script from shell robot -rit, says
---------------------------------------------------------
C-4370-2009 | (Causa 1 de 291)
Bytes Actuales: 480924
Bytes en Bd: 480924
CABELLO INMOBILIARIA BOS
2 Juzgado Civil de Chillan
------------------------------------------------------------
when i run this comand (robot -rit) from cpanel cron job, says
---------------------------------------------------------
C-4370-2009 | (Causa 1 de 291)
Bytes Actuales:
Bytes en Bd: 480924
CABELLO INMOBILIARIA BOS
2 Juzgado Civil de Chillan
------------------------------------------------------------
the Bytes Actuales: is empty...
why works when i ran from shell directly, and doesnt work from cron?
thanks