Learn how to set up scheduled tasks in Plesk
In this article, you will learn how to set up scheduled tasks in Plesk. Scheduled tasks (commonly referred to as cronjobs) are used to run scripts automatically on your hosting account at a specific time.
Prerequisites
Step 1: Log into your Client area.
Go to https://my.snel.com/clientarea/
and log in with your credentials.
Go to Services
in the left side panel.
Select Webhosting
under the services
tab.
Select the product you want to use.
Select Login Details
in the left side panel.
Click on the URL to go to Plesk.
Use the given username and password to log in to Plesk.
Step 2: Scheduled Tasks
After logging in, Select Websites & Domains
in the left side panel, then click on the Scheduled Tasks
in the right-side panel.
Click on Add Task
.
Step 3: Add your scheduled task
First, you need to select the task that suits your needs:
- Command: Fill in the full location of the desired file that you want to use including binary files, shell scripts, and batch files.
- Fetch a URL: Fill in the URL only, so that means there is no need to add commands to the URL.
- Run a PHP script: Fill in the full location of your PHP script and locate the files needed in your directory.
Then, you need to select how often you want the script to run. Once you are done, click on OK
to proceed.
Conclusion
Congratulations, you have successfully added a scheduled task. You can add more than one scheduled task at a time. Other users can add a scheduled task as well if they have the right permissions granted.
Leave a Reply