Module Values_0.ScheduleSource

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

Sourcetype nonrec t = {
  1. scheduleExpression : CronExpression.t option;
    (*

    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 * * ? *).

    *)
  2. state : ScheduleState.t option;
    (*

    The state of the schedule.

    *)
}
Sourceval make : ?scheduleExpression:??? -> ?state:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CronExpression.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t