Azure Web Sites - scheduled tasks
.net, asp.net-mvc-4, azure, azure-web-app-service, azure-webjobs
Solution
It looks like Azure finally has proper scheduling built in - see the Azure Scheduler documentation
Whilst it's in preview and you'll most likely have to use the REST API for now, I'm sure it won't be long before the functionality is available in the management portal. I've been waiting ages for this!
Problem
I am developing a web site which I plan to host on Windows Azure. The site will need to run some daily/weekly scheduled jobs, synchronizing to various 3rd party data sources, sending user notifications, etc. It should also be able to run on-demand async tasks such as sending emails to users etc. My initial thought was to host this using Azure Cloud Services, with one web role running MVC 4 and one worker role both taking care of scheduled tasks, and pulling async tasks (sending emails etc) out of queue storage. However, this is going to cost me, seeing how I need to pay double for compute hours. The project might justify this cost in the future, but before business picks up I'd really prefer a cheaper alternative. Therefore I'm looking into Azure Web Sites. I could cut the cost in half by using Azure Web Sites for the MVC site and having a worker role running the taks, but I'd love to hear about other alternatives, besides the obvious option to manually trigger them from my admin module. Also, can I connect the site to my domain and use ssl for free using Azure Web Sites?