How do I run a long-running stored procedure on SQL Server, even if I get disconnected?
Azure Automation: Schedule the Execution of SQL Jobs in Azure with Automation Service

and make a small powershell script and schedule it in the azure dashboard.