You are currently viewing How to Schedule Tasks in Plesk

How to Schedule Tasks in Plesk

Efficiency and reliability are the most important things when it comes to servers. Plesk, as a leading web server control panel, offers a range of features designed to make server management easier. One such feature is the ability to schedule tasks. This feature, often underutilized, can significantly enhance your server management strategy by automating routine tasks, thus saving time and reducing the potential for human error. This comprehensive guide will walk you on how to schedule tasks in Plesk, ensuring you can fully use this powerful feature.

This blog is a part of our Plesk server management services where we make sure your Plesk server works efficiently with any issues.

Introduction to Task Scheduling

Task scheduling in Plesk allows you to automate a wide range of activities, from running scripts and executing commands to performing system maintenance and sending emails at specified intervals. This automation capability is crucial for maintaining optimal server performance, ensuring security, and delivering content on time, without manual intervention.

Adding a Scheduled Task

To schedule a new task for your account, please proceed with the following instructions:

  1. Sign in to Plesk.
  2. Navigate to Scheduled Tasks by clicking on it in the right sidebar.
  3. Select “Add Task.”
  4. Within the “Schedule a Task” page, go to the “Task type” section and choose the specific task type you wish to configure:
  • Choose “Run a command” if you wish to execute commands recognized by the Windows Command Center. Enter your command in the “Command” text box, and include any optional parameters in the “with arguments” text box.
  • Opt for “Fetch a URL” to access a URL, offering functionality akin to the curl program. In the “URL” text box, input the URL you aim to retrieve.
  • Select “Run a PHP script” for executing PHP scripts located on the server. Indicate the script’s file path in the “Script path” text box, and if needed, add any optional parameters in the “with arguments” text box. From the “Use PHP version” dropdown, choose the PHP version you prefer for running the script.
  1. In the “Run” section, define how often and at what time you wish the scheduled task to execute.
  2. Enter any notes or comments regarding the scheduled task in the “Description” text box, or you may leave it blank if preferred.
  3. Choose your desired frequency for receiving notifications about the scheduled task in the “Notify” section.
  4. Click “Run Now” if you want to execute the scheduled task immediately.
  5. Click “OK” to save the settings for your scheduled task.

Editing a Scheduled Task

To modify an already scheduled task, please adhere to the steps below:

  1. Sign into Plesk.
  2. Locate and click on “Scheduled Tasks” in the right sidebar.
  3. Select the task you wish to edit. Plesk will then present you with the “Schedule a Task” page, containing all the existing settings of the task, similar to when you initially set it up.

Removing a Scheduled Task

To remove a scheduled task from your account, follow these steps:

  1. Log in to Plesk.
  2. In the right sidebar, click Scheduled Tasks:
  3. Select the check box for the task or tasks you want to remove, and then click Remove.
  4. Click Yes to confirm the deletion. Plesk removes the task or tasks that you selected.

Advanced Settings

For more control over your scheduled tasks, Plesk provides several advanced settings:

  • Run as: Specify the system user under whom the task should be executed. This is crucial for tasks that require specific permissions.
  • Notification Settings: Configure email notifications to be sent upon task completion or failure, keeping you informed about the task’s status.
  • Priority and Execution Time: Adjust the priority of the task and limit its execution time to prevent it from affecting server performance.

Best Practices for Scheduling Tasks

To maximize the effectiveness of your scheduled tasks, consider the following best practices:

  • Test Before Scheduling: Before setting a task to run automatically, manually execute it to ensure it works as expected.
  • Use Descriptive Names: Give each task a clear, descriptive name to easily identify its purpose at a glance.
  • Regular Review: Periodically review your scheduled tasks to ensure they are still relevant and adjust their schedule as necessary.

Troubleshooting Common Issues

Even with careful setup, you might encounter issues with scheduled tasks. Here are some tips for troubleshooting:

  • Check Task Logs: Plesk provides logs for each executed task. Review these logs for errors or issues.
  • Verify Permissions: Ensure the user account running the task has the necessary permissions to execute the commands or scripts.
  • Review Task Configuration: Double-check the task’s configuration settings, including the schedule, command/script, and execution user.


The ability to schedule tasks in Plesk is a powerful feature that can significantly enhance your web hosting environment’s efficiency and reliability. By automating routine tasks, you can ensure that important operations run smoothly without the need for constant manual oversight. Whether you’re backing up databases, running security checks, or updating content, mastering task scheduling in Plesk will free up your time to focus on more strategic initiatives. With the guidance provided in this blog, you’re now equipped to set up, manage, and optimize your scheduled tasks in Plesk, propelling your web hosting capabilities to new heights.