I have an ASP.NET MVC5 application running as an App Service in Azure and want to schedule a WebJob to execute a console app every hour.
In the console application I have webjob-publish-settings.json
file defined as:
{
"$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json",
"webJobName": "EpisodeUpdater",
"startTime": "2017-05-01T00:00:00-08:00",
"endTime": "2020-06-01T00:00:00-08:00",
"jobRecurrenceFrequency": "Hour",
"interval": 1,
"runMode": "Scheduled"
}
When I look in the Azure portal the type of WebJob appears to be set as Triggered - the job will run successfully when I start it manually but it doesn't execute every hour.
Can anyone see why the WebJob isn't scheduled properly?