There was a problem loading the comments.

Create a scheduled task (cron job) in Plesk

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

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

  1. Log in to Plesk (you can open it from the service page in My.GARMTECH).
  2. Go to Websites & Domains.
  3. Click Scheduled Tasks.

Create a new scheduled task

  1. Click Add Task.
  2. 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).
  3. Choose the schedule (daily/weekly/monthly) or cron-style timing (if available).
  4. (Optional) Enable email notifications for task output.
  5. 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.

Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

Tags

© GARMTECH