@makehq/sdk
    Preparing search index...

    Type Alias Scheduling

    type Scheduling = {
        between?: string[];
        date?: string;
        days?: number[];
        interval?: number;
        months?: number[];
        restrict?: { days?: number[]; months?: number[]; time?: string[] }[];
        time?: string;
        type:
            | "immediately"
            | "indefinitely"
            | "once"
            | "daily"
            | "weekly"
            | "monthly"
            | "yearly"
            | "on-demand";
    }
    Index

    Properties

    between?: string[]

    Date and time range to run the scenario for all types (ISO 8601 format)

    date?: string

    Date and time to run the scenario when type is 'once'

    days?: number[]

    Days of the week to run the scenario when type is 'weekly' (0-6, where 0 is Sunday) Days of the month to run the scenario when type is 'monthly' or 'yearly' (1-31)

    interval?: number

    Interval for scheduling when type is 'indefinitely' (in seconds, minimum 60)

    months?: number[]

    Months of the year to run the scenario when type is 'yearly' (1-12)

    restrict?: { days?: number[]; months?: number[]; time?: string[] }[]

    Restrictions for scheduling

    Type declaration

    • Optionaldays?: number[]

      Days of the week to run the scenario when type is 'weekly' (0-6, where 0 is Sunday)

    • Optionalmonths?: number[]

      Months of the year to run the scenario when type is 'yearly' (1-12)

    • Optionaltime?: string[]

      Time range to run the scenario (e.g. ['09:00', '17:00'])

    time?: string

    Time to run the scenario when type is 'daily', 'weekly', 'monthly', or 'yearly'

    type:
        | "immediately"
        | "indefinitely"
        | "once"
        | "daily"
        | "weekly"
        | "monthly"
        | "yearly"
        | "on-demand"

    Type of scheduling