Change Planning on Azure WebJob

Like so many others, I am enthusiastic about lightweight web applications that can easily be added to Azure websites.

But I suggested that one of the advantages of WebJobs was easy to change planning. When I tried, I was surprised that there seems to be no way to do this. The deployed WebJob seems to be stuck in the initial planning.

Do I need to deploy new WebJobs just to change planning?

+6
source share
3 answers

I finally found it. Scheduled web applications are displayed in the "Scheduler" section of the main panel.

The Save button is not displayed until you really make changes.

+2
source

To change the schedule or change the CRON value, simply use the utility editor to modify the settings.job file;

At the time of writing, the utility editor is still in preview mode, but it will work.

In the settings.job file, change the schedule to CRON and will be reflected in the App Web Job application panel.

enter image description here

Application Service Editor is available in Application Service> Development Tools

Application Service Editor (Preview)

enter image description here

+3
source

An answer has already been provided, but I just want to add more information. I struggled to find the code for the webjob as well as the settings.job file.

In the end, I found it inside the App_Data / jobs / triggered folder containing webapp.

I hope this helps.

+1
source

Source: https://habr.com/ru/post/979625/


All Articles