title: How can i setup a webjob in azure for a php application
body: <p>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.</p>
  
  <p>here is the content of my batch file</p>
  
  <pre><code>start D:\xampp\php\php.exe -f D:\xampp\htdocs\phpcode\cron.php
  </code></pre>
  
  <p>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. </p>
  
  <pre><code>start &lt;the path of php executable on azure&gt; &lt;call to something like 'http://www.example.com/controllername/functionname&gt;
  </code></pre>
  
  <p>Please advise. Any other solution will also be helpful</p>