Search code examples
azureazure-webjobs

Azure WebJob not running as per schedule


I have an issue where an Azure WebJob I created (on a Web App) is not running using the cronjob Trigger I specified. I am able to click on the WebJob, then click Run and it does run fine with no errors. A screenshot of the WebJobs in the portal is shown below.

WebJobs List
As you can see, the Trigger is set to run at 9:30 AM every day, but it is never run automatically as per the trigger, only manually using Run. The WebJob itself is set to run a .exe which is contained inside a .zip.

Here are the settings I used when creating the WebJob.
Creating new WebJob


Solution

  • You need to make sure you have Always On enabled in your App, which requires it to run in Basic or higher mode.

    See https://azure.microsoft.com/en-us/documentation/articles/web-sites-create-web-jobs/#CreateScheduledCRON for details.