Type Alias ReloadOnTimeScheduleRequest

Request body for creating a reload task that runs on a recurring time schedule.

type ReloadOnTimeScheduleRequest = {
    description?: string;
    enabled?: boolean;
    endDateTime?: string;
    name: string;
    partial?: boolean;
    recurrence: string;
    startDateTime?: string;
    timezone?: string;
}
Index
description?: string

A human-readable description of the task's purpose.

enabled?: boolean

Whether the task is enabled. A disabled task never runs on its own. Defaults to false.

endDateTime?: string

The local date and time in timezone when the schedule ends, in the same format as startDateTime; any offset or Z is ignored in the same way. It must be after startDateTime and in the future. Omit it for a schedule with no end.

name: string

The name that identifies the task.

partial?: boolean

Whether the reload is partial.

recurrence: string

An RFC 5545 recurrence rule prefixed with RRULE:, for example RRULE:FREQ=DAILY;BYHOUR=9;BYMINUTE=0;BYSECOND=0 to run every day at 09:00:00. FREQ is required. The scheduler also enforces these limits:

  • The shortest frequency is MINUTELY; SECONDLY is not supported.
  • COUNT is at most 100.
  • INTERVAL is at most 1000 for MINUTELY and HOURLY, 548 for DAILY, 78 for WEEKLY, 18 for MONTHLY and 2 for YEARLY.
  • An INTERVAL greater than 1 cannot be combined with the BY* part of the same unit, for example FREQ=MINUTELY;INTERVAL=5;BYMINUTE=10.
  • DTSTART, UNTIL, EXDATE and RDATE are not supported; use startDateTime and endDateTime instead.

Time-of-day parts that are left out (BYHOUR, BYMINUTE, BYSECOND) are taken from startDateTime, or from the creation time when startDateTime is omitted. Set them explicitly to run at a fixed time of day.

startDateTime?: string

The local date and time in timezone when the schedule starts, in the format YYYY-MM-DDThh:mm:ss. Any offset or Z is ignored: the value is always read as wall-clock time in timezone, so 2026-11-02T09:00:00Z with timezone set to Europe/Stockholm means 09:00 Stockholm time. Defaults to the time the task is created. Occurrences before the task is created are skipped, not caught up, but they still count towards COUNT.

timezone?: string

An IANA time zone name, such as Europe/Stockholm, used to evaluate recurrence, startDateTime and endDateTime. Defaults to UTC.