Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_129d4daadb94ed700e2845b19aa9df9f, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
How to Create and Remove Scheduled Tasks in Plesk - XsoftHost

How to Create and Remove Scheduled Tasks in Plesk

What is Plesk Scheduled Task

Scheduled Task is a tool provided by Plesk control panel that allow you to run scripts on your server at specific time, and make the system automatically run the scripts for you . indeed Scheduled Task in Plesk is matching cron jobs in cPanel control panel.

Creating a Scheduled Task in Plesk:

  1. Login to your Plesk Control Panel.
  2. On your plesk dashboard click Websites & Domains tab .
  3. Click on Show Advanced Operations and click Scheduled Tasks, On different Plesk version Click on Scheduled Tasks located on the right top pane of the dashboard page.
  4. from the Scheduled Tasks Page , click Add Task or Schedule New Task link.
  5. Start adding the require fields:
    1. Active : select the active checkbox to make the new task active and running .On different Plesk version ,Switched On 
    2. Task type: you have three types for the task: On different Plesk version these options may not showing instead showing the Command textbox to fill only.
      1. Run a command. Specify the full path to the executable file to be run. This includes binary files, shell scripts, and batch files.
      2. Fetch a URL. Specify the URL only, there is no need to type the command, such as curl or wget.
      3. Run a PHP script. Specify the path to the script relative to your virtual host directory. You can click the Scheduled Tasks select script browseicon to quickly locate the script file.
    3. Run : Specify the schedule time for example : Daily at 16 :00. On different Plesk version you have to fill  the Hours, Days of month, Months or Days of week fields.
    4. Description : type your scheduled task description.On different Plesk version may not available.
    5. Notify:On different Plesk version may not available.
      1. Do not notify: no notification will sent to you  at all.
      2. Errors only: Notifications contain the command output and are sent only if the exit code is non-zero. Meaning when the scheduled task occurred , notification email will send depends on Send notifications to that you specify , you can select Subscription owner email or any Other users.
      3. Every time:Notifications contain the command output and are sent regardless of the command exit code. So each time the scheduled task run , it will send notification email depends on Send notifications to that you specify , you can select Subscription owner email or any Other users.
    6. Now you have Option to Run Now button to save and run immediately  ,  or press Ok button to Save and leave the scheduled task to run on its schedule time.

Editing or Removing  Scheduled Tasks (Cron Jobs) Within Plesk

To Edit or Remove the scheduled that already exists on your account :

  1. Login to your Plesk control panel.
  2. Click on Show Advanced Operations and click Scheduled Tasks, On different Plesk version Click on Scheduled Tasks located on the right top pane of the dashboard page.
  3. From the list you can click the checkbox for each scheduled task row and then click Remove button.
  4. If you want to Edit the existing scheduled task , click the command name from the list and you can start edit the same fields that you already entered while adding process.
  5. The list also provide Run Now Link button to run the task immediately  
If you are unable to find the Scheduled Task link within your plesk account , its mean that your account or package has no permission to manage Scheduled Task.

Creating a Scheduled Task in Plesk Image Guide:

the screen shots showing how to add scheduled task on different plesk versions and view theme

Plesk add Scheduled Tasks.

OR

Plesk add Scheduled Tasks.

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts