Search code examples
c#azureschedulerworker

What to use in Azure for Scheduling and calling custom function (worker)


I would like to have a Worker Process to run independently from Websites in Azure. I will use this worker to create Websites and databases dynamically so I don't want WebJobs.

To create theses websites I would like to be able to call the Worker from a WebService in c#.

Also, I want to schedule task to clean databases each day. I read at some places that I need Azure Scheduler or Worker Role with Quartz.net.

I would like to know what is the best solution in Azure for me. Thanks!


Solution

  • Based on what I understood it seems like you want to build an automation process and be able to manage it.

    I think Azure Automation could possibly be one option for you.

    Azure Automation is an Azure service for simplifying cloud management through process automation. Using Azure Automation, manual, frequently-repeated, long-running, and error-prone tasks can be automated to increase reliability, efficiency, and time to value for your organization.

    Azure Automation provides a highly-reliable, highly-available workflow execution engine that scales to meet your needs. In Azure Automation, processes can be kicked off manually, by 3rd-party systems, or at scheduled intervals so that tasks happen exactly when needed.

    For more details you can take a look at the Azure Automation here:

    https://azure.microsoft.com/en-us/documentation/services/automation/