Plesk: Setting up scheduled task (cron job)

With our web hosting, you have access to scheduled tasks (also called cron jobs). In this article, we will show you how to set these up.

Login on Plesk Control Panel

  1. In My Cloud86 (link), click in the left menu on My Services.
  2. Click the 3 dots behind the web hosting package you want to see in Plesk and click View Details.
  3. Under the heading Manage Webhosting (middle of the page), click on Websites & Domains.
  4. You will now be automatically logged into the Plesk Control Panel.

For the full manual with images, follow Login to Plesk

Create scheduled task

  1. In Plesk, click in the right menu on Scheduled Tasks.
  2. Click + Add Task to create a new scheduled task.
  3. Set the task as desired and click Run Now or OK, you can use the following settings for this purpose:
    • Execute a task: specify the full path to the file to be executed.
    • Invoke URL: specify the url the task should look at (does not need curl or wget).
    • Run PHP Script: specify the full path to the file to be executed (start with the first folder in Files location, for example: httpdocs/wp-cron.php).

Example: PHP script execution

In this example, you create a PHP script as a cronjob: so in this you choose Run a PHP Script. Then you select the PHP file + PHP version, lastly you enter a frequency of execution. In this case, once a day at 00:03 (our advice is never to use whole hours, as many crons do this and it may affect the speed).


If you need some help, you can always reach our support desk by email support@cloud86.io and on weekdays from 10:00 am to 4:00 pm you can also reach us by phone and via the chat in My Cloud86.