问题
What are the steps to be taken in xampp[codeigniter]
to use cron and how to make the cron to call our function in XAMPP Windows
? Do we need to download any exe to run this cron?
- create a batch file to run your php script using php executable "C:\xampp\php\php.exe C:\wamp\www\index.php"
- add this batch file in Scheduled Task in Windows control panel.
how to create a batch file thats the code to be written inside batch file?
来源:https://stackoverflow.com/questions/8093141/how-to-use-cron-in-xampp-windows-step-by-step-to-be-followed-to-use-in-developm