Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

How to: Cron Jobs

$
0
0
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

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>