Module Values.ScheduleConfigSource

This API enables you to specify the duration that the camera, or local media file, should record onto the Edge Agent. The ScheduleConfig consists of the ScheduleExpression and the DurationInMinutes attributes. If the ScheduleConfig is not provided in the RecorderConfig, then the Edge Agent will always be set to recording mode. If the ScheduleConfig is not provided in the UploaderConfig, then the Edge Agent will upload at regular intervals (every 1 hour).

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

    The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If the ScheduleExpression is not provided for the RecorderConfig, then the Edge Agent will always be set to recording mode. For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.

    *)
  2. durationInSeconds : DurationInSeconds.t;
    (*

    The total duration to record the media. If the ScheduleExpression attribute is provided, then the DurationInSeconds attribute should also be specified.

    *)
}
Sourceval context_ : string
Sourceval make : scheduleExpression:ScheduleExpression.t -> durationInSeconds:DurationInSeconds.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of DurationInSeconds.t | `String of ScheduleExpression.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