Knowledge Base
How to Create and Modify Scheduled Tasks - Plesk
Copy Link
* Your feedback is too short
If you have a repetitive task or need to run scripts at a specific time, you can use a task scheduler in Plesk to automatically execute the task/script for you.
Create a Scheduled Task
To create a Scheduled Task:
- Login to your Plesk Control Panel.
- Click Websites & Domains.
- Click Scheduled Tasks located in the upper right corner.
- Click Add Task.
- Provide the following for Schedule a Task:
- Active: This checkbox lets you turn the scheduled task on or off.
- Task type:
- Run a command: This option requires you to specify the full path to the executable file to run(This includes binary files, shell scripts, and batch files)
- Fetch a URL: This option lets you specify a URL with no commands.
- Run a PHP script: This option lets you specify the path to the script relative to your virtual host directory.
- Run: This setting lets you set when and how often the task will run
- Description: This field lets you set a description for the task for reference
- Notify:
- Do not notify: You will not get any notifications with this option
- Errors only: You will only receive notifications if your task encounters an error with this option
- Every time: You will receive a notification every time the task runs with this option
- Click OK.
Modify a Scheduled Task
To modify a Scheduled Task:
- Login to your Plesk Control Panel.
- Click Websites & Domains.
- Click Scheduled Tasks located in the upper right corner.
- Click the task you want to modify under Command.
- Modify the information you need to update under Schedule a Task.
- Click OK to save your changes.
Delete a Scheduled Task
To delete a Scheduled Task:
- Login to your Plesk Control Panel.
- Click Websites & Domains.
- Click Scheduled Tasks located in the upper right corner.
- Select the checkbox for the task you want to delete.
- Click Remove.
- Click Yes in the dialog box.
Copy Link
* Your feedback is too short