Class: Aws::SageMaker::Types::ScheduleConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::ScheduleConfig
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
When making an API call, you may pass ScheduleConfig data as a hash:
{
schedule_expression: "ScheduleExpression", # required
}
Configuration details about the monitoring schedule.
Instance Attribute Summary collapse
-
#schedule_expression ⇒ String
A cron expression that describes details about the monitoring schedule.
Instance Attribute Details
#schedule_expression ⇒ String
A cron expression that describes details about the monitoring schedule.
Currently the only supported cron expressions are:
-
If you want to set the job to start every hour, please use the following:
‘Hourly: cron(0 * ? * * *)`
-
If you want to start the job daily:
‘cron(0 [00-23] ? * * *)`
For example, the following are valid cron expressions:
-
Daily at noon UTC: ‘cron(0 12 ? * * *)`
-
Daily at midnight UTC: ‘cron(0 0 ? * * *)`
To support running every 6, 12 hours, the following are also supported:
‘cron(0 [00-23]/ ? * * *)`
For example, the following are valid cron expressions:
-
Every 12 hours, starting at 5pm UTC: ‘cron(0 17/12 ? * * *)`
-
Every two hours starting at midnight: ‘cron(0 0/2 ? * * *)`
<note markdown=“1”> * Even though the cron expression is set to start at 5PM UTC, note
that there could be a delay of 0-20 minutes from the actual
requested time to run the execution.
-
We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker will pick a time for running every day.
</note>
17065 17066 17067 17068 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 17065 class ScheduleConfig < Struct.new( :schedule_expression) include Aws::Structure end |