Hey guys,
I'm trying to figure out how to write the code to run a cron job that executes a controller function.
Is this possible?
I am unsure what to include at the top of the php file etc. I've checked out index.php but am not sure if "Yii::createWebApplication($config)->run();" should be included etc.
Cheers,
Sn0rcha
I'm trying to figure out how to write the code to run a cron job that executes a controller function.
Is this possible?
I am unsure what to include at the top of the php file etc. I've checked out index.php but am not sure if "Yii::createWebApplication($config)->run();" should be included etc.
Cheers,
Sn0rcha