I execute my cron with this in Dreamhost Control Panel:
/home/myUser/myApp/protected/yiic.php updateStatus
My yiic.php is:
<?php // change the following paths if necessary $yiic=dirname(__FILE__).'/../../yiiPro/framework/yiic.php'; $config=dirname(__FILE__).'/config/console.php'; require_once($yiic);
I am getting this error:
/home/myUser/myApp/protected/yiic.php: line 1: ?php: No such file or directory
/home/myUser/myApp/protected/yiic.php: line 3: //: is a directory
/home/myUser/myApp/protected/yiic.php: line 4: syntax error near unexpected token `__FILE__'
/home/myUser/myApp/protected/yiic.php: line 4: `$yiic=dirname(__FILE__).'/../../yiiPro/framework/yiic.php';'
I don´t write my UpdateStatusCommand because it fails even before to execute the Command, I guess because a bad configuration.
Any idea?
Thanks in advance

Help











