Suppose we have following WebJob deployed in Azure of type Triggered.
And now we want to update its schedule.
To do so,
Open the App Service Editor
Update the CRON expression in settings.job (in case of scheduled web job), if the file is not there we can create and add it.
This makes the Webjob to run every 1 minute.
Back in our Webjob we can see the schedule updated.
Inside the logs à
More details –
https://github.com/projectkudu/kudu/wiki/WebJobs#scheduling-a-triggered-webjob
Hope it helps…
Interestingly the settings. job file does not transfer to Azure when it gets to publish.
LikeLike
What do you mean, does not transfer? It’s just a file in the webjob folder. You can publish your own with the code for the webjob.
LikeLike