Type Alias Schedule

Schedule:
    | string
    | {
        cron?: tasks.Crondef;
        endDateTime?: string;
        interval?: string;
        recurrence?: string;
        startDateTime?: string;
        timezone?: string;
    }

Type Declaration

  • string
  • {
        cron?: tasks.Crondef;
        endDateTime?: string;
        interval?: string;
        recurrence?: string;
        startDateTime?: string;
        timezone?: string;
    }
    • Optionalcron?: tasks.Crondef
    • OptionalendDateTime?: string

      The date and time (ISO 8601 format) when the workflow schedule ends.

    • Optionalinterval?: string

      A repeating time interval in ISO 8601 format that defines when workflow instances are automatically created.

    • Optionalrecurrence?: string

      An RRULE recurrence rule string defining when the workflow recurs.

    • OptionalstartDateTime?: string

      The date and time (ISO 8601 format) when the workflow schedule begins.

    • Optionaltimezone?: string

      The timezone name used to evaluate the interval and cron expression. Defaults to UTC.