问题
Azure Scheduler is scheduled to retire on September 30, 2019. Migration documentation says "All Scheduler job collections and jobs will be deleted from the system."
In our Azure portal, webjobs are displayed under a scheduler job collection "WebJobs-NorthCentralUS". Are all these jobs going to be deleted?
回答1:
The web jobs won't be deleted, but the tiggers will, so they won't execute on schedule anymore. You can set up a logic app to poke them or you can redeploy them with a cron expression.
回答2:
There are different ways to configure a web job to run on a schedule.
1. Using Azure scheduler - Configure a scheduler in azure portal, which points to the deployed Webjob. For more detail, refer below link.
https://nishantrana.me/2017/03/21/scheduling-a-web-job-console-application-using-azure-scheduler/
2. Using CRON expression - The most recommended approach for a web job scheduling. For more detail, refer below link.
https://docs.microsoft.com/en-us/azure/app-service/webjobs-create
Microsoft is extending the retirement date for Scheduler to December 31, 2019. You can find the updated timeline as follows:
- On September 30, 2019 - free SKU Scheduler job collection will be disabled. Existing jobs will stop running but you can continue to retrieve data from them for migration.
- On September 30, 2019 - the ability to create job collections will be disabled from the Azure portal for all SKUs. Existing Standard, P10, and P20 Scheduler resources will continue to run. You will also still be able to manage existing job collections.
- On October 31, 2019 - Scheduler will be removed from the Azure portal. Existing Standard, P10, P20 Scheduler resources will continue to run, and will be accessible via API and SDKs. If you do not wish your job to continue to run after Scheduler is removed from the Azure portal, please disable or delete your job collections before October 31, 2019.
- On December 31, 2019 - Scheduler will be fully retired. All scheduler jobs will stop running and all data will be deleted.
If you have any jobs configured on azure scheduler, please move Azure Logic Apps as soon as possible or you can redeploy them with a CRON expression. Migrate Azure Scheduler jobs to Azure Logic Apps.
In addition to the Scheduler features you’re already familiar with, Logic Apps enables you to:
- Use a visual designer and connectors to integrate with more than 200 different services, including Azure Blob storage, Azure Service Bus, Microsoft Outlook, and SAP.
- Manage each scheduled workload as a first-class Azure resource.
- Run multiple one-time jobs using a single logic app.
- Set schedules that automatically adjust to daylight saving time.
来源:https://stackoverflow.com/questions/56990127/are-azure-web-jobs-part-of-azure-scheduler-retirement