Real people, 24/7(800) 395-7779

How to Create Scheduled Tasks in Plesk Print

  • plesk, schedule tasks
  • 2

Scheduled tasks run a job automatically at set times - for example calling a URL on your site every 15 minutes, or running a PHP script nightly. They are the Windows equivalent of cron jobs.

Step-by-Step Guide:

  1. Open Scheduled Tasks:

    • Log in to Plesk and click Websites & Domains.
    • Find your domain and click Scheduled Tasks (on the Dashboard tab). You can also type "Scheduled" in the search box at the top of Plesk.
  2. Add a task:

    • Click Add Task.
    • Choose the task type:
      • Fetch a URL: enter the full address, e.g. https://yourdomain.com/tasks/run. Best choice for most ASP.NET and WordPress jobs.
      • Run a PHP script: enter the script path relative to your website folder and pick the PHP version.
      • Run a command: enter the full path to a program or batch file inside your hosting space.

    Add Task form

  3. Set the schedule:

    • Choose Hourly, Daily, Weekly, Monthly, or Cron style for a custom schedule.
    • Optional: choose whether to be notified by email when the task fails.
    • Click OK.
  4. Test it:

    • In the task list, select the task and click Run Now to check that it works.

Tips:

  • Don't schedule heavy jobs more often than you need.
  • For WordPress, a scheduled "Fetch a URL" task calling https://yourdomain.com/wp-cron.php is more reliable than the built-in visitor-triggered cron.

Need help? Open a ticket at https://my.peopleshost.com/submitticket.php and our support team will be glad to assist.


Was this answer helpful?

« Back