# Scheduled Restarts for Your Schedule 1 Server (/docs/schedule-1/scheduled-restarts)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Long-running Schedule 1 sessions (Hyland Point with full economy + MultiplayerPlus + content mods) eventually slow down — Unity garbage collection accrues, NPC routines accumulate state. A scheduled restart every 24 hours keeps performance smooth.

***

Create a Restart Schedule [#create-a-restart-schedule]

<Steps>
  <Step>
    Open your Schedule 1 server in the XGamingServer panel.
  </Step>

  <Step>
    Click **Schedules** in the sidebar.
  </Step>

  <Step>
    Click **Create Schedule**. Name it (e.g. `Daily restart`).
  </Step>

  <Step>
    Set the cron expression:

    * Daily at 04:00 server time → `0 4 * * *`
    * Every 12 hours → `0 0,12 * * *`
    * Weekly Mondays at 04:00 → `0 4 * * 1`
  </Step>

  <Step>
    Click **Create**. The schedule appears in the list.
  </Step>

  <Step>
    Open the schedule and click **New Task**. Pick **Restart Server** as the action. Save.
  </Step>
</Steps>

***

Add a Pre-Restart Save [#add-a-pre-restart-save]

The DedicatedServerMod's documented command set doesn't include an in-game chat broadcast at the time of writing. What you can chain into a schedule is a manual save right before the restart so nothing is lost:

1. **New Task** → action `Send Console Command` → `save` → time offset `-1 minute`
2. **New Task** → action `Restart Server` → no offset

If a future DedicatedServerMod release adds a broadcast command (something like `say` or `broadcast`), wire that in as an earlier task with a `-5 minutes` offset. Until then, give players a heads-up via Discord before the scheduled time.

See [Commands Reference](/docs/schedule-1/commands-reference) for the current command list.

***

Recommended Cadence [#recommended-cadence]

| Player count + mod stack                         | Recommended cadence |
| ------------------------------------------------ | ------------------- |
| 4 players, vanilla / light mods                  | Weekly              |
| Up to 10 players, MultiplayerPlus + content mods | Daily               |
| Up to 20 players, heavy mod stack                | Every 12 hours      |

If you notice RAM creeping up over time in the panel's resource graph, tighten the cadence.

***

Pausing the Schedule [#pausing-the-schedule]

To temporarily disable scheduled restarts (e.g. during an event), open the schedule and click **Disable**. Re-enable it after.

***

Related Guides [#related-guides]

* [Server Config Reference →](/docs/schedule-1/server-config)
* [Backup and Restore →](/docs/schedule-1/backup-restore)
* [Troubleshooting →](/docs/schedule-1/troubleshooting)
