Create a scheduled task (cron job) in Plesk
- 20.02.2026 00:57
-
- automation
- plesk
Scheduled Tasks (Cron jobs) let you run scripts or URLs automatically on a schedule. Typical use cases: automate backups, run periodic cleanup, execute import/export scripts, or trigger WordPress tasks.
Open Scheduled Tasks in Plesk
- Log in to Plesk (you can open it from the service page in My.GARMTECH).
- Go to Websites & Domains.
- Click Scheduled Tasks.
Create a new scheduled task
- Click Add Task.
- Select what you want to run:
- Run a PHP script – best for most hosting use cases.
- Fetch a URL – useful if you need to call a webhook or trigger a script via HTTPS.
- Run a command – advanced option (may be limited on shared hosting).
- Choose the schedule (daily/weekly/monthly) or cron-style timing (if available).
- (Optional) Enable email notifications for task output.
- Save the task.
Examples
- Run a PHP script: select your script from the website folder (for example,
cron.php). - Fetch a URL: use a secure URL like
https://example.com/cron.php(only if your script is designed for URL execution).
Notes
- Tasks run on the server schedule/timezone.
- Start with a low frequency (for example, once per day) and increase only if needed.
- If a task fails, check the task output and your website logs in Plesk.
Related Articles
Comments
Add Comment