If a PHP script is run as a cron script, the includes often fail if relative paths are used. For example, if you have
require_once(\'foo.php\');
When executed trough a cron job your PHP script probably runs in different context than if you start it manually from the shell. So your relative paths are not pointing to the right path.