Azure Automation: Assets - Schedules - Link Runbooks

Please go through the list of other articles to understand Azure Automation.

  1. Azure Automation – Basics
  2. Azure Automation: Author Runbook Using PowerShell - Hello World
  3. Azure Automation - Import PowerShell Runbook From Portal Gallery
  4. Azure Automation - Publish Runbook
  5. Azure Automation: Assets – Variables
  6. Azure Automation: Assets – Modules
  7. Azure Automation: Assets – Schedules

Once you create a schedule, you can link it to any of the Runbooks available in the Azure Automation account. Let’s see how to link the Runbook with the Schedule.

Navigate to the Automation Account by clicking the required Automation account. 

Runbooks

Click on the “Runbooks” tile, as shown in the screenshot shown above to view all the Runbooks. Click any one of the available Runbooks in the Azure Automation account, as shown below:

Runbooks
As soon as you click the Runbook, you will be taken to the “Essentials” tab of the selected “Runbook”, as shown below:

Runbooks

As shown in the above screenshot, currently, there are no schedules associated with this Runbook. Clicking on the “Schedules” tile will take you to the  screenshot, shown below, where you can associate a schedule to the current Runbook.

Runbooks
Now, click “Add a schedule” to associate the Runbook to an existing Runbook. Click on the “Add a schedule” link, which will open the following blade:

Add a schedule

Clicking the “Link a schedule to your runbook” will open the following blade, which displays all the existing Schedules available in the current Azure automation account, as shown below:

Link

For this demo, I selected “RunEveryDayat10AM” schedule. Please note that, you can also create a new Schedule by clicking on “Create a new schedule” from this blade itself. Once a schedule is selected, you will see the selected schedule, as shown below:

new schedule

Now, click “OK” button to link the “RunEveryDayat10AM” schedule with the “AzureAutomationTutorial” Runbook. As soon as you click on “OK” button, it will show something like what is shown below:

RunEveryDayat10AM

After few seconds, the selected schedule will be shown in the list, as shown below:

schedule

Runbook will now run every day at 10 AM. Hope, you enjoyed the article. Your feedback is highly appreciated.

Up Next
    Ebook Download
    View all
    Learn
    View all