You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Glue::Types::Schedule

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A scheduling object using a cron statement to schedule an event.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#schedule_expressionString

A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

Returns:

  • (String)

    A cron expression used to specify the schedule (see [Time-Based Schedules for Jobs and Crawlers][1]. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

#stateString

The state of the schedule.

Possible values:

  • SCHEDULED
  • NOT_SCHEDULED
  • TRANSITIONING

Returns:

  • (String)

    The state of the schedule.