Schedule
¶
Used by
Source code in docs_src/capo_compute_optimizer_automation/types/schedule.py
execution_window_in_minutes
instance-attribute
¶
execution_window_in_minutes: NotRequired[int]
The time window in minutes during which the automation rule can start implementing recommended actions.
schedule_expression
instance-attribute
¶
schedule_expression: NotRequired[str]
The expression that defines when the schedule runs. cron expression is supported. A cron expression consists of six fields separated by white spaces: (minutes hours day_of_month month day_of_week year)
You can schedule rules to run at most once per day. Your cron expression must use specific values (not wildcards) for the minutes and hours fields. For example: (30 12 * * *) runs daily at 12:30 PM UTC.