I have a situation where i need to process a large volume of database data once a day for my php application. My application is deployed on azure, it is a webapp and is built on codeigniter v3.x. I have been able to run a schedule on my local window machine using a .bat file and a .php file.
here is the content of my batch file
start D:\xampp\php\php.exe -f D:\xampp\htdocs\phpcode\cron.php
this I can write because i know the exact path of php. Right now there is a simple php file cron.php which does the job. But what i plan is to write a controller class and call its function from the scheduler.
start <the path of php executable on azure> <call to something like 'http://www.example.com/controllername/functionname>
Please advise. Any other solution will also be helpful