the command works when its manually called, but does not when its on cron. I have used Cron Job in symfony2 this for referencing. did not work.
command in cron is:
55 09 * * * /usr/bin/php /var/www/symfony2/current/app/console mycommand >> /var/www/symfony2/logs/logthis.txt
the /current/ is a link from capistrano to the current version.
EDIT: I would like to add to peter_the_oak list. A obvious one but still.
if its not working
Check cron status
sudo su /etc/init.d/cron status
if it returns failed
/etc/init.d/cron start
was the case for me.