I have a example as in http://www.yiiframework.com/extension/yii-crontab/.
In centOs, i run a command "/usr/bin/php /var/www/html/cron/app/console.php myCron testCron" in command line is ok. but I insert to crontab with text "01 * * * * root /usr/bin/php /var/www/html/cron/app/console.php myCron testCron" is not run, and i have mail in root directory with content:
Error: Unknown action: testCron
Usage: /var/www/html/cron/app/console.php mycron <action>
Actions:
testCron
this mail as as I run the command on the command line is wrong action.
example command "/usr/bin/php /var/www/html/cron/app/console.php myCron testCro". i have a similar mail content
Error: Unknown action: testCro
Usage: /var/www/html/cron/app/console.php mycron <action>
Actions:
testCron
4898
help me.