Azure Functions is always there and you just need a Timer triggered function,
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=python#example
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi I need to run a periodic (nightly) background task for maintaining my system running in an Azure App Service -- Linux Python runtime. On a traditional VPS I would use cron for this task. Is cron the appropriate solution in the Azure App Service context? If not what would you recommend instead? If cron is appropriate is there anything I need to know in terms of the inherent impermanence of the system? I'm assuming that I would need to add the creation of the cron job to a custom deployment script, to ensure that it was in place any time the system was rebuilt.
Notes: I explored using WebJobs but, at the time of writing, the documentation says "WebJobs is not yet supported for App Service on Linux."
https://learn.microsoft.com/en-us/azure/app-service/webjobs-create
Azure Functions is always there and you just need a Timer triggered function,
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=python#example
@Tristan Chambers ,
Hope you are good.
I have found something that might help you to run Cron Job in Azure App service.
You can use the "SSH Console" of the Linux based App service which is located under Development Tools.
I have configure in that, and it is work proper as of now.
Ref. Link: https://learn.microsoft.com/en-us/azure/app-service/configure-linux-open-ssh-session
This service is might be in public preview currently but useful for configuring cron.
Vote up if it found helpful.
Regards,
Karan