A scheduled task runs a command, retrieves a URL or starts a PHP script at selected times. This guide explains how to create and test the task in Plesk.
Open Scheduled Tasks
For a website subscription, open Websites & Domains > Scheduled Tasks. A server administrator can use Tools & Settings > Scheduled Tasks for tasks belonging to system users.
Check the user that will run the task and its permissions. Use the least privileged account that can perform the work.
Configure the task
- Click Add Task.
- Select Run a command, Fetch a URL or Run a PHP script, according to the work required.
- Enter the command, URL or script path. For a PHP script, choose the appropriate PHP version where that option is available.
- Set the frequency, date and time. Check the scheduled-task timezone under Settings rather than assuming it matches your computer’s time.
- Add a description and choose the notification settings.
- Review whether a test run is safe. Run Now performs the actual task, so it can send messages or change data.
- Run a suitable test, check its result and correct errors before relying on the schedule.
- Click OK to save and check the next scheduled run.

Check paths and repeat runs
Linux subscription tasks may run in a restricted, chrooted environment where the subscription’s home directory acts as the filesystem root. Use paths valid inside that environment; contact the provider if a required executable is unavailable rather than disabling the restriction for everyone.
Make sure repeated or overlapping runs will not cause duplicate actions. Scheduled tasks are a way to automate work, not a general website speed improvement.