CodeIgniter Forums

Full Version: Use codeigniter (PHP) to set cron jobs in Windows server 2008
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using Codeigniter for my website. I need to use windows task scheduler ( windows server 2008) to run codeigniter controller function. In task scheduler i set Program script: "C:php\php.exe " and arguements: -f C:cron\schedule.php. but it is not working . my controller name and its function : localhost/cron/schedule/report.
(04-26-2015, 09:38 PM)codewithscript Wrote: [ -> ]I am using Codeigniter for my website. I need to use windows task scheduler ( windows server 2008) to run codeigniter controller function. In task scheduler i set Program script: "C:php\php.exe " and arguements: -f C:cron\schedule.php. but it is not working . my controller name and its function : localhost/cron/schedule/report.


Check this . You have to copy the content of each folder to your respective one and setup your windows credentials in the library/ksoftcron.php