Windows Azure Scheduler is one of the new feature additions to Windows Azure. This is a cloud based scheduler service which analogous to the Task Scheduler.
Login to you Windows Azure Management Portal, If you do not see the Scheduler tab in the left hand side either you didn’t activate it or the feature is not available in your subscription. If you haven’t activated you can activate it and continue the following; if you don’t have the access to the Scheduler in your subscription don’t worry I’ve provided the screenshots. I always include the screenshots much as possible when writing Windows Azure posts just to explain the features as they are, in case you do not have access to them.
Click on the CREATE SCHEDULER JOB and you will get this nice Azure pop menu
Click CUSTOM CREATE, Select your region and enter a name for your Job Collection. (Note that at the top it says ‘You are creating a Standard Job Collection’ you can change this in the scale tab)
As of now we have Job actions for HTTP, HTTPS and Storage Queue. I used the Storage Queue action. Once you select your storage account and Queue name you should give the permissions to Scheduler Job to access the Queue storage. This can be achieved very easily by generating a Shared Access Signature (SAS) for the Queue.
Next the you can configure the job timing schedules. It has more options; I have selected to run the job every 5 minutes till a specific date starting immediately after the job has been provisioned.
And that’s it. This is the sample message posted by the Job in the Queue.
1: <?xml version="1.0" encoding="utf-16"?>
2: <StorageQueueMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9: <Region>Southeast Asia</Region>
10: <Message />
You can see the Message tag is empty since I didn’t put any messages. You have the complete control in editing the Job you created.