I want to use a cronjob to launch a yii action of a controller in order to use all the yii models and AR.
For example I want to launch the action "updateHtcheck" in the controller "HtCheck".
How can I do?
* * * * * /usr/local/bin/php -q /path/to/youryii/protected/controller/HtCheck/updateHtcheck
Can someone help me? Thanks