LogoLogo
LogoLogo
  • Welcome
    • Navigation
  • RealmJoin Deployment
    • Onboarding
    • Required Permissions
    • Infrastructure Considerations
      • Multi User Devices
    • Migration to RealmJoin vNext
  • User, Group and Device Management
    • Overview
    • User Profile
    • Organization Details
    • User, Group and Device Lists
      • Advanced Search
      • User Details
      • Group Details
      • Device Details
    • User and Group Settings
      • Available RealmJoin Policies
  • App Management
    • Packages
      • Package Store
        • Application Store Details
      • Package Management
      • Package Details
      • Package Assignments
        • Package Migration
      • Package Settings
      • Packaging Requests
        • Organic Packages
    • AVD Templates
  • Automation
    • Connecting Azure Automation
      • Required Permissions
      • Runbook Parameters
    • Runbooks
      • Runbook Customization
      • Runbook Permissions
      • Naming Conventions
      • Runbook Scheduling
      • Runbook Logs
        • Runbook Job Details
      • Runbooks Changelog
    • Requirements
    • Remediation Scripts
  • RealmJoin Agent
    • Features
      • Local Admin Password Solution (LAPS)
        • KeyVault
        • Application Insights
      • Notifications
      • AnyDesk Integration
        • AnyDesk configuration
      • App Deployment using the Agent
        • RealmJoin ESP
    • Deploying the Agent
    • User Interface
  • Logs
    • Connecting Azure Log Analytics Workspace
    • Audit Log
  • RealmJoin Settings
    • Overview
    • General
    • Roles and Permissions
      • Pre-defined Roles
      • Custom Roles
        • Available Permissions
    • Group Namespaces
    • Workplace Cloud Storage
    • Self Service Forms
  • Developer Reference
    • RealmJoin API
      • Authentication
    • Interacting with Runbooks
    • Simulating a Runbook Environment
    • Local Admin Password Management
  • Other
    • FAQ
      • Security
    • Troubleshooting
      • Package Installation Issues
        • Collecting Logfiles
        • Logfiles Structure
        • Analysing chocolatey.log
        • Troubleshooting failed chocolatey packages
        • Troubleshooting failed craft packages
        • Fixes for common issues
        • Intunewin Debugging
      • LAPS Issues
        • LAPS account passwords cannot be retrieved
        • Requested LAPS Accounts are not being created
    • Changelog
  • Legal
    • Licensing
    • Support
  • RealmJoin Website
Powered by GitBook
On this page
  • Schedulability
  • Assigning Schedules
  • Managing Schedules
  • Default Schedules
  • New / Edit Schedule

Was this helpful?

Edit on GitHub
  1. Automation
  2. Runbooks

Runbook Scheduling

Execute Runbooks repeatedly over time

Last updated 1 year ago

Was this helpful?

Some use cases for runbooks are better suited to be run repeatedly without interaction such as monitoring the health of a service or checking the remaining capacity of a storage.

In those cases you can assign a schedule to a runbook and have Azure automatically run it for you at your desired schedule.

RealmJoin Portal allows you to assign schedules to runbooks as well as to manage and create schedules.

Schedulability

By default, not all runbooks are flagged as schedulable. This is meant to easily indicate which runbooks are useful on a scheduled basis and which runbooks should preferably be used interactively.

By default, runbooks having the suffix _scheduled are flagged as schedulable. You can overwrite this behaviour using Runbook Permissions.

Assigning Schedules

If a runbook is flagged as schedulable, the "Schedule" button next to the runbook will become active.

RealmJoin Portal will show existing schedule-assignments when browsing the runbooks.

Managing Schedules

Azure Automation allows administrators to define custom schedules for runbooks. You can use RealmJoin Portal to manage existing Azure Automation Schedules or to create new ones.

You can add a New Schedule, Edit or Delete an existing schedule from here.

Default Schedules

If no schedules exist yet, RealmJoin Portal will offer a Create default schedules button:

Pressing this button will create a default set ("Hourly", "Daily", "Weekly", "Monthly") of schedules as seen above.

New / Edit Schedule

When creating or editing a schedule, you can modify its name, description, start and end date/time and frequency.

Execution of the runbook will happen on the days defined by start-date and frequency.

For example: If you configure a weekly frequency with an interval of 1 week, starting on Thursday 9th of March 2023, then then runbook will be executed on every Thursday including and after 9th of march. Setting an interval of 2 weeks will make it run on march 9th and only every other ("every second") Thursday afterwards and so on.

The start-time defines at which time the execution will happen. Setting the timezone makes sure the time is interpreted accordingly.

The schedule dialogue allows you to choose a and to configure the parameters for the runbook's execution. If the parameters are left empty, the runbook's defaults will be used.

Use the navigation on the left, selecting the Runbook Logs and got the Schedules tab.

schedule
Schedulable vs. non-schedulable runbook
Configuring a scheduled runbook
Scheduled runbook
Runbook Schedules
Create Schedules
Edit Schedule