The Schedule trigger activates at a specified interval, allowing you to run a rule on a recurring basis. It is a valuable tool for managing resources across all platforms that helps you automate repetitive tasks, reduce manual intervention and optimize operational efficiency and costs.
This trigger has a built-in notifications to alert you prior to the scheduled execution time. These notifications contain a list of targeted resources and provide a timely opportunity to snooze or cancel the upcoming execution of the recurring schedule.
The Schedule trigger will usually be used in a rule with actions that start, stop, or scale resources, or notifications for periodic alerts. However, it is possible to pair it with any action.
Select the timezone within which we should interpret the schedule's definition. You can use the searchable list to find your desired timezone.
The weekly schedule picker allows you to select the time at which you want to trigger this rule's execution. You can select multiple days of the week.
For more advanced scheduling options, you can use a cron expression instead of the weekly schedule picker. In GorillaStack, a valid cron expression consists of 5 fields separated by white space. The fields respectively represent:
0-59
or *
)0-23
or *
)1-31
or ?
or *
)1-12
or *
)1-7
or ?
or *
)Each field can be:
1
)1-12
)1,2,3
)*/2
)1-12/2
)*
(asterisk) to indicate 'all values'Example cron expressions:
# Every day at 8am:
0 8 \* \* ?
# 1st of every month at 8am:
0 8 1 \* \*
# Every second day at 5:30pm:
30 17 _/2 _ ?
# Monday to Friday every hour:
0 _ ? _ 1-5
# Everyday at midday:
0 12 \* \* \*
The Notification Offset is the amount of time in minutes prior to the scheduled execution time that a notification will be sent. By default notifications are sent to all selected notification destinations 10 minutes before the scheduled time.
The Default Snooze Offset is the amount of time in minutes that the snooze action will delay the execution of the schedule. If you choose to snooze an execution of the schedule, you can still select a custom duration when doing so.
You can configure how the pre-execution notifications are delivered to you (through email, Slack or Teams). See the Notification Guide for more information.