How to run console command inside php code using thread--Yii Framework -
i'm trying schedule task using php code in yii framework. want execute below command line inside php code using thread function @ intervals of time.
this command stored in 1 table along frequency scheduled. using yii scheduler extensions. don't want run console command manually or task scheduled in windows.
i want run using timer inside php code. here's i've tried far-
yiic scheduler run --name="priorizer" priorizer = d:/xampp/php/php.exe d:/xampp/htdocs/merged/cron.php priorizer //stored in yii-schedules table
Comments
Post a Comment