Cron job and simplexml

Hi all !!
I’m a total newbie when talking about cron jobs so excuse me if i make some mistake!
I have a php script that i want to execute every day.
I have read this page on th wiki: and i have setup a cron job on my panel, running the file.
But i have received a mail (the day after), telling me that there has been an error because simple_xml was not found. The script is working (i’m running it every day actually…).
I a big dumb, because i have deleted this mail, so i don’t have the exact error.
If someone can help me :slight_smile:

Thanks a lot !!

Make sure you’re using the full paths for PHP and your script. And you have to be careful to make sure you’re running the correct version of PHP in your cronjob.

/usr/local/bin/php (PHP4)
/usr/local/php5/bin/php (PHP5)


Thx for the tip.
I’m going to try and tell you if it solve the problem.