Skip to content

Runbook Schedules

Sam Betts edited this page Jul 13, 2026 · 1 revision

Link automation account runbooks to schedules

This page explains how to link the pre-created schedules in the Automation Account to the analytics runbooks. It is step 2 of Reports deployment for Activity & Usage Analytics.

Schedules are pre-created in the automation account; they just need linking to the right runbooks. Link the schedules by going to the Automation account in Azure portal.

Runbook list

Create schedules for Database Maintenance

Find the runbooks and click on Database_Maintenance.

Link to schedule location

Link the runbook to a schedule – we’ll add this runbook to two schedules, one by one. First one is activitylog maintenance, every Sunday at 1pm:

Schedule choosen

Now set the parameter to start. Click "configure parameters and run settings" and enter activitylog in the MAINTENANCETYPE parameter box:

MAINTENANCETYPE parameter

Click OK to confirm parameters. Click OK to confirm this schedule.

Now link another schedule for this runbook to create one for weekly DB maintenance:

  • Schedule: Weekly Sunday 11pm

  • Parameters:

    • MAINTENANCETYPE = weekly

Schedule configured

Click OK to save.

Confirm you see both schedules for the maintenance runbook:

Maintenance runbook with double schedule

Create schedule for Weekly Update

Link a new schedule for the runbook Weekly_Update:

  • Schedule: Weekly Sunday 6pm
  • No parameters

Runbook scheduled

Both these jobs should run without errors but should only be run out of peak hours.

Next step

Continue with step 3: Wait for runbooks to run.

Clone this wiki locally