How to Setup Scheduled Tasks in Plesk?

To include a scheduled task in your account, adhere to these steps:

  1. Log in to Plesk.

  • If you're unsure about logging in to your Plesk account, refer to this article.

  • On the right sidebar, select "Scheduled Tasks":

Plesk - Scheduled Tasks icon

  1. Click on "Add Task."

On the "Schedule a Task" page, within the "Task type" section, choose the type of task you wish to configure:

  • To run a command using commands recognized by the Windows Command Center, select "Run a command." Specify the command in the "Command" text box and add any optional arguments in the "with arguments" text box.

  • For fetching a URL with similar functionality to the curl program, choose "Fetch a URL." Specify the URL in the "URL" text box.

  • To run PHP scripts hosted on the server, opt for "Run a PHP script." Specify the script file path in the "Script path" text box and add any optional arguments in the "with arguments" text box. Choose the required PHP version from the "Use PHP version" drop-down menu.

  1. In the "Run" section, define the frequency and time for executing the scheduled task.

  2. In the "Description" text box, add a note or comment related to the scheduled task or leave it empty.

  3. Within the "Notify" section, choose the frequency for receiving notifications related to the scheduled task.

  4. To immediately execute the scheduled task, click on "Run Now."

  5. To save the scheduled task, click on "OK."

Modifying a Scheduled Task

To modify an existing scheduled task, follow these steps:

  1. Log in to Plesk.

  • If you're unsure about logging in to your Plesk account, refer to this article.

  1. On the right sidebar, select "Scheduled Tasks":

Plesk - Scheduled Tasks icon

  1. Click on the scheduled task you wish to modify. Plesk will present the same "Schedule a Task" page that you utilized to create the task, containing all of the task's settings.

Deleting a Scheduled Task

Take the following actions to delete a scheduled job from your account:

  1. Log in to Plesk.

If you're unsure about logging in to your Plesk account, refer to this article.

  1. On the right sidebar, select "Scheduled Tasks":

Plesk - Scheduled Tasks icon

  1. Choose the checkbox next to the task or tasks you wish to remove, then click on "Remove."

  2. Click "Yes" to confirm the deletion. Plesk will remove the selected task or tasks.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 637