I am implementing cron jobs as per http://www.yiiframework.com/wiki/91/implementing-cron-jobs-with-yii
What is the best place to put cron.php that it is only accessible for the console application and not for the whole world.
Cheers,
bettor
I am implementing cron jobs as per http://www.yiiframework.com/wiki/91/implementing-cron-jobs-with-yii
What is the best place to put cron.php that it is only accessible for the console application and not for the whole world.
Cheers,
bettor
In short: Outside the webroot
why not calling yiic yourcommand via cronjob?
@mbi I will try this. I tried the wiki cause it is written by one of the staff guys samdark hence thought it’s best practice approach. What is the difference between using cron.php and calling yiic yourcommand?
Thanks,
bettor
I dont know the difference, but all you can call via shell, you can call via cron as well
Put in protected/console dir and call using yiic
Yep I will give it a try. It falls short on my list. I just don’t get it why we can use cron.php when it is available through the browser