# ScheduleOptions

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

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

Options for a scheduled platform restart or shutdown.

## Properties

- **`autoSaveLayout`** (`boolean`, optional) default: `true`
  If `true`, will automatically save changes to the current Global Layout before the scheduled restart or shutdown.
  If there isn't a current Global Layout, will save the current arrangement as the default Global Layout.
  If `false`, the user will still be able to save the Layout by choosing the option to save the changes in the warning dialog.
- **`warning`** (`{ title?: string; message?: string; countdown?: number; }`, optional)
  Settings for the warning dialog displayed before the scheduled operation.
