> For the complete documentation index, see [llms.txt](https://kb.rport.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.rport.io/digging-deeper/the-scheduler.md).

# The scheduler

Starting with RPort 0.7.0 a centralized cron-like scheduler has been introduced.

### Prerequisites

Both, the server and the clients must **run at least version 0.7.0** of Rport to use the scheduler. Updating all your clients is not necessary as long as you don't want to run scheduled scripts on them.

{% hint style="info" %}
The scheduler runs only on the RPort server. Jobs are dispatched when due to the clients as regular script or command execution. All [security filters](https://github.com/cloudradar-monitoring/rport/blob/0.6.0/rport.example.conf#L139-L184) are applied.\
**If a client is disconnected, a job will not be caught up.**
{% endhint %}

### For a single client

#### Create a schedule

Click on the `Commands` or `Scripts` tab of a client. Enter the script or command that you want to execute. You can execute it right away to verify it's doing what is it supposed to do. To execute the command or script at a given time, click the gray `Schedule` button. Using cron syntax, you can then specify the execution interval. Cron syntax is used for Windows, Linux and macOS.&#x20;

![Create a script or command first](/files/CV3RVQjedeJN6wWCJuQO) ![Schedule a command or script](/files/rYB61zDUqQAIjY5CcZPJ)

#### Supervise schedules

From the "Schedules" tab, you get access to the reports. You can verify the success of all schedules jobs.&#x20;

![List of schedules and their status](/files/RwumGzK7e4YjPnKax3Sx) ![Detailed report](/files/8BMgLRHZMIPGCBG02WdW)

### For multiple clients

#### Create a schedule

Scheduling a script are command for multiple clients works similar to executing scripts are commands. Click on the global `Command` or `Scripts` icon on the main menu on the left side.&#x20;

Select on which clients a script or command should be executed. Instead of executing right away, klick on `Schedule`.

![Schedule a script for multiple clients](/files/oQShjZeEhh8g3S3qwPAO)

#### Supervise schedules

Using the global `Schedules` section accessed from the main menu on the left side, you can supervise all schedules. Those created for a single client and those created for multiple clients.

![Supervise schedules on a global level.](/files/6PCkJnuVPeekmud25skh)
