# ScheduleUpdate

**Kind**: interface | **Module**: [Platform](https://docs.interop.io/desktop/reference/javascript/platform/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/platform/scheduleupdate/index.html

Settings for updating a platform schedule.

## Properties

- **`cron`** (`string`, optional)
  Custom cron expression for the scheduled operation. Will be ignored if `time`, `repeat`, or `day` is locked by the administrator.
- **`day`** (`DayOfWeek`, optional)
  Day of the week for a weekly schedule. The `update()` method will reject changes to an unlocked `day`
  if `repeat` is set to `"daily"`.
- **`enabled`** (`boolean`, optional)
  If `true`, will enable the schedule. If `false`, will disable the schedule without removing its settings.
- **`options`** (`ScheduleOptions`, optional)
  Options to merge with the existing schedule options. If `warning` is specified, it will replace the existing warning settings entirely.
- **`repeat`** (`"daily" | "weekly"`, optional)
  Frequency of the scheduled operation.
- **`time`** (`string`, optional)
  Time for the scheduled operation in the local time zone of the machine, using the `"HH:mm"` format (hours from `00` to `23`).

## Related types

- [DayOfWeek](https://docs.interop.io/desktop/reference/javascript/platform/dayofweek/index.md)
- [ScheduleOptions](https://docs.interop.io/desktop/reference/javascript/platform/scheduleoptions/index.md)
