# Virtual desktop scheduling

By default, your virtual desktop come with no schedule, which means your desktop will stay up until you stop/terminate it, and will stay stopped until you turn it back on. You can change this behavior by configuring your own scheduling, and IDEA will ensure your desktop will automatically start/stop based on your own requirements.

{% hint style="info" %}
Virtual Desktop will only be stopped if idle (e.g: no active session connected and CPU usage below 15% for at least 15 minutes). This is meant to prevent accidental stop and ensure you won't have to worry if you have a simulation running on your desktop overnight but have configured auto-stop after 8PM
{% endhint %}

You can at any moment review whether or not you have a schedule configured for the current day on your virtual desktop by checking the settings bar of your session (note: schedule are unique to each desktop)

<figure><img src="/files/HVKr3CrPzMaXarCcITS5" alt=""><figcaption><p>Verify if a schedule is applicable by checking the settings bar</p></figcaption></figure>

To create/edit a schedule, click "**Actions**" >  "**Schedule**". This will open a new modal where you will be able to choose the schedule for any given day:

<figure><img src="/files/v0bAqC1FemIDZ6Ol4Se0" alt=""><figcaption><p>Set a custom schedule per day</p></figcaption></figure>

Simply click the dropdown menu to chose your schedule for that day using the different presets below:

<table><thead><tr><th>Mode</th><th width="336.3333333333333">Running Desktop</th><th>Stopped Desktop</th></tr></thead><tbody><tr><td>No Schedule</td><td>Stay running until you stop/terminate</td><td>Stay stopped until you manually restart it</td></tr><tr><td>Stop All Day</td><td>Will be stopped if idle after 00H</td><td>Will stay stopped</td></tr><tr><td>Started All Day</td><td>Will stay running</td><td>Will be automatically started after 00H</td></tr><tr><td>Working Hours</td><td>Will be started at 9 AM</td><td>Will be stopped if idle after 5 PM</td></tr><tr><td>Custom Schedule</td><td>Will be started based on your own time</td><td>Will be stopped if idle based on your own time</td></tr></tbody></table>

{% hint style="info" %}
Schedule is re-evaluated every 30 minutes
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ide-on-aws.com/virtual-desktop-interface/user-documentation/virtual-desktop-scheduling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
