Export (0) Print
Expand All

Get Started Using Scheduler in the Management Portal

Updated: January 13, 2015

To complete this tutorial, you need an Azure account that has the Azure Scheduler feature enabled. If you don't have an account, you can create a free trial account in just a couple of minutes. For details, refer to Azure Free Trial.

It's easy to create jobs and job collections on Azure Scheduler using the Azure Management Portal. This tutorial will walk you through the creation of the job collection you will use to store jobs, the creation of a job in a job collection, and an overview of the job monitoring and management tasks available through the management portal. You need prior experience with Azure to use this tutorial.

The first time you open the Azure Management Portal, you are automatically placed at the ALL ITEMS tab. The columns in the ALL ITEMS tab can be sorted. To view your Scheduler jobs and job collections, click the SCHEDULER tab.

Windows Azure Scheduler

  1. Sign in to the Management Portal.

  2. Click App Services, then click Create New, point to Scheduler, and then click Custom Create.

    Windows Azure Scheduler
  3. In Job Collection, select an existing job collection if you have already created a job collection and want to add this job to that job collection, by selecting the name of the existing job collection under the Job Collection drop-down. If you don’t have an existing job collection you’d like to add the job to, select Create New and enter a name to identify your new job collection.

    Windows Azure Scheduler
  4. In Region, select the geographic region for the job collection.

  5. Click the arrow key to create the job collection and move to the next stage – creating a job.

  6. Let’s create a job that simply hits http://www.microsoft.com/ with a GET request. In the Job Action screen, define the following values for the requested form fields:

    1. Name: getmicrosoft

    2. Action Type: HTTP

    3. Method: GET

    4. URI: http://www.microsoft.com

    Windows Azure Scheduler
  7. In the next step, define a schedule. The job could be defined as a one-time job, but let’s pick a recurrence schedule. Some screenshots in this tutorial show a recurrence of 1 minute for only illustrative purposes, but pick a recurrence of 12 hours.

    1. Recur Every: 12 Hours

    2. Starting: Now

    3. Ending On: Select date 2 days after current day and any time

    Windows Azure Scheduler
  8. Finally, click OK.

  9. It can take a while for the job collection and job to be created. To check the status, you can monitor the notifications at the bottom of the portal.

    Windows Azure Scheduler

    After the job and job collection have been created, a message will tell you that the job or job collection have been successfully created. The job will be listed in the Jobs section of the Scheduler section and the job collection will be listed in the Job Collections section. To configure additional advanced settings in the job, refer to the section “Configure a Job” below.

    Windows Azure Scheduler

Once a job collection is created, it shows up in the main Scheduler management screen.

Windows Azure Scheduler

Clicking on a job collection opens a new window with the following options:

  1. Dashboard

  2. Scale

  3. Jobs

  4. History

The following topics describe these tabs in greater detail

When you click your job collection name, the Dashboard tab is displayed. The Dashboard displays the following information:

Windows Azure Scheduler

A table and series of charts that shows a fixed list of metrics. These metrics provide real-time values regarding the health of your job collection including:

  1. Current Jobs

  2. Completed Jobs

  3. Faulted Jobs

  4. Enabled Jobs

  5. Disabled Jobs

  6. Job Executions

A table that shows a fixed list of status and settings metrics. These metrics provide real-time values regarding the status and settings associated with your job collection including:

  1. Status

  2. Region

  3. Number of Errors

  4. Number of Occurrence Faults

  5. URI

In the Scale tab, you can change the settings and tier of service used by your Scheduler.

Windows Azure Scheduler

This displays whether you are on the Free or Standard plan.

Azure Scheduler implements quotas based on several conditions. This section lists the quota thresholds and allows you to change them. By default, there is one set of quotas configured. The limits of these quota settings are constrained by your plan, and changing the Plan may impact pricing.. Quotas can be changed to scale your Scheduler. Options include:

  1. Max Jobs

  2. Max Frequency

  3. Max Interval

The history tab displays the following information for the selected job:

Windows Azure Scheduler

A table that displays selected metrics for every job execution in the system for the selected job. These metrics provide real-time values regarding the health of your Scheduler.

The following performance counters/metrics are available:

  1. Status

  2. Details

  3. Retry Attempt

  4. Number of executions (1st, 2nd, 3rd, etc.)

  5. Timestamp of execution

You can click View History Details to look at the whole response for every execution. This dialog box will also allow you to copy the response to the clipboard.

Windows Azure Scheduler

The jobs tab displays the following information to monitor the execution history of jobs:

Windows Azure Scheduler

A table that displays selected metrics for every job in the system. These metrics provide real-time values regarding the health of your Scheduler.

Clicking on a Job name gives you the option to Enable, Disable, or Delete the job. Deleted jobs may not be recoverable.

The following counters and metrics are available:

  1. Name

  2. Last Run

  3. Next Run

  4. Status

  5. Frequency

  6. Failures

  7. Faults

  8. Executions

  9. Action Type

Clicking on a job in the “Jobs” screen allows you to configure that job. This lets you configure additional advanced settings beyond what’s available in the quick-create wizard. To configure a job, click on the right arrow next to the job’s name in the “Jobs” screen.

The job configuration page lets you update job settings. The job config page is shown below for HTTP and HTTPS jobs. For HTTP and HTTPS job action types, you may change the method to any allowed HTTP verb. You may also add, delete, or change the headers and basic authentication information.

Azure Scheduler

The job config page appears as shown below for storage queue jobs. For storage queue action types, you may change the storage account, queue name, SAS token, and body. The “Schedule” section (not shown below) is identical to the “Schedule” section for HTTP/HTTPS job action types.

Azure Scheduler

Finally, for all action types, you may change the schedule itself and its recurrence behavior. You may change the start date and time, recurrence schedule, and the end date and time (if the job is recurring.) After making any changes, you may save changes by clicking ‘Save’ or discard changes by clicking ‘Discard.’

See Also

© 2015 Microsoft