How to schedule tasks in Plesk

This article describes how to configure scheduled tasks in Plesk. Using the task scheduler, you can:

  • Run commands at intervals that you specify.
  • Fetch URLs at intervals that you specify.
  • Run PHP scripts at intervals that you specify.

Plesk is no longer included with new A2 Hosting plans, but it is still available on legacy Managed WordPress accounts. You can install Plesk manually on unmanaged VPS and Dedicated servers.

Adding a scheduled task

To watch a video that demonstrates the following procedure, please click below:

To add a scheduled task to your account, follow these steps:

  1. Log in to Plesk.
    If you do not know how to log in to your Plesk account, please see this article.
  2. In the right sidebar, click Scheduled Tasks:

    Plesk - Scheduled Tasks icon

  3. Click Add Task.
  4. On the Schedule a Task page, in the Task type section, select the type of task that you want to set up:

    • Select Run a command to use commands recognized by the Windows Command Center. In the Command text box, specify the command, as well as any optional arguments in the with arguments text box.
    • Select Fetch a URL to retrieve a URL with similar functionality to the curl program. In the URL text box, specify the URL you want to fetch.
    • Select Run a PHP script to run PHP scripts hosted on the server. In the Script path text box, specify the path to the script file, as well as any optional arguments in the with arguments text box. In the Use PHP version list box, select the PHP version you want to use to run the script.
  5. In the Run section, specify the frequency and time with which you want to run the scheduled task.
  6. In the Description text box, type a note or comment related to the scheduled task, or leave the text box empty.
  7. In the Notify section, select how frequently you want to receive notifications related to the scheduled task.
  8. To immediately run the scheduled task, click Run Now.
  9. To save the scheduled task, click OK.

Editing a scheduled task

To edit an existing scheduled task, follow these steps:

  1. Log in to Plesk.
    If you do not know how to log in to your Plesk account, please see this article.
  2. In the right sidebar, click Scheduled Tasks:

    Plesk - Scheduled Tasks icon

  3. Click the scheduled task you want to edit. Plesk displays the same Schedule a Task page that you used to create the task with all of the task's settings.

Removing a scheduled task

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

  1. Log in to Plesk.
    If you do not know how to log in to your Plesk account, please see this article.
  2. In the right sidebar, click Scheduled Tasks:

    Plesk - Scheduled Tasks icon

  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.

More Information

To view the official Plesk documentation about how to use the task scheduler, please visit http://docs.plesk.com/en-US/onyx/customer-guide/scheduling-tasks.65207.

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.