Oberst Server

Scheduling tasks in Plesk allows you to automate routine actions such as running scripts, executing commands, or fetching URLs at defined intervals. This is commonly used for maintenance jobs, Hintergrundverarbeitung, and recurring application tasks.

Plesk is typically used on environments where you have control over the hosting stack, such as setups based on Plesk hosting.

When Scheduled Tasks Are Useful

Scheduled tasks are often used for:

  • Running maintenance or cleanup scripts
  • Executing recurring PHP scripts
  • Triggering background jobs
  • Fetching URLs for cron-based automation

Automating these tasks reduces manual work and helps keep services running consistently.

Adding a Scheduled Task

Schritt 1: Open Scheduled Tasks

Log in to the Plesk control panel.

From the right-hand sidebar, klicken Scheduled Tasks.

[Screenshot: Plesk sidebar with Scheduled Tasks option]

Schritt 2: Create a new task

Klicken Add Task to open the task configuration screen.

[Screenshot: Add Task button in Scheduled Tasks]

Schritt 3: Choose the task type

Im Task type Abschnitt, select one of the following options:

  • Run a command to execute system commands available to your environment
  • Fetch a URL to request a specific URL at scheduled intervals
  • Run a PHP script to execute a PHP file stored on the server

When running a PHP script, specify the script path, optional arguments, and the PHP version that should be used.

[Screenshot: Task type selection screen]

Schritt 4: Set schedule and notifications

Choose how often the task should run and at what time.

Optionally add a description to help identify the task later.

In the notification section, select when you want to receive execution reports.

To test the task immediately, klicken Run Now. To save it, klicken OK.

Editing an Existing Task

If you need to change a scheduled task:

  1. Offen Scheduled Tasks from the Plesk sidebar
  2. Click the task you want to edit
  3. Update the task settings as needed and save the changes

[Screenshot: Scheduled task list with edit option]

Removing a Scheduled Task

To delete one or more tasks:

  1. Offen Scheduled Tasks
  2. Select the checkbox next to the task
  3. Klicken Remove and confirm the action

[Screenshot: Remove scheduled task confirmation]

Practical Notes

  • Test new tasks using Run Now before relying on schedules
  • Avoid overlapping tasks that may consume excessive resources
  • Review logs and notifications regularly

Scheduled tasks are commonly used on server-level deployments such as Cloud-Server and more advanced setups running on Dedizierter Server environments where automation plays a key role in daily operations.

War dieser Artikel hilfreich??