[solved] crontab didn't run the schedule

Hi All,

i want to ask why my schedule in crontab didn’t work, if i run it manually, it worked.

i have this console.php in myapp/console.php :


 // remove the following line when in production mode

defined('YII_DEBUG') or define('YII_DEBUG',true);






i write this in command line when i run it manually (and it worked) :

1. cd /project/program/web/myapp/protected

      2. /usr/local/php/bin/php yiic activitycleaner

i write this in command line when i want it schedule (and it didnt worked) :

*/5 * * * * /usr/local/php/bin/php /project/program/web/myapp/console.php activitycleaner

did i miss something?


already solved,just change the path into full path in $yii and $configfile