I deployed the proposed method with WebJob using Visual Studio, right-click on the console project, select "Publish as Azure Webjob" and go through the settings. I selected a planned plan that caused the creation of a file " webjob-publish-settings.json" in the Properties folder with the following contents:
{
"$schema": "http://schemastore.org/schemas/json/webjob-publish-settings.json",
"webJobName": "TestCredentials2",
"startTime": "2016-04-05T01:00:00+01:00",
"endTime": "2016-04-12T00:00:00+01:00",
"jobRecurrenceFrequency": "Minute",
"interval": 3,
"runMode": "Scheduled"
}
During deployment, the webjob is in the "On Demand" state. Webjob starts once when I start it manually from Azure Portal, but does not restart it automatically.
I also tried adding " settings.job" to the root of my project (with the setting "Copy if new"):
{ "schedule": "0 /5 * * * *"}
- , .