# ScheduleType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Task schedule. Specifies when and how often something should happen.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
earliestStartTime | property dateTime | [0,1] | Earliest time when the task is allowed to start.
latestStartTime | property dateTime | [0,1] | Latest time when the task is allowed to start.
latestFinishTime | property dateTime | [0,1] | Latest time when the task is allowed to run.
interval | property int | [0,1] | Interval in seconds between task runs.
cronLikePattern | property string | [0,1] | Cron-like pattern specifying time(s) when the task is to be run.
misfireAction | property MisfireActionType | [0,1] | What is to be done when the planned start time arrives without the task actually starting.

- ### Items

  - #### earliestStartTime

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Earliest time when the task is allowed to start.

  - #### latestStartTime

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Latest time when the task is allowed to start.

  - #### latestFinishTime

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Latest time when the task is allowed to run. It is the responsibility of the task handler to finish working when this time arrives. NOTE: This attribute is currently not used; its use is planned.

  - #### interval

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Interval in seconds between task runs.

  - #### cronLikePattern

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Cron-like pattern specifying time(s) when the task is to be run. Currently only loosely-bound recurring tasks can use this feature.

  - #### misfireAction

    Flags: RAM,runtime,AVals:2

    Multiplicity: [0,1]

    What is to be done when the planned start time arrives without the task actually starting.