Plesk Scheduled Tasks (Cron Jobs) let you automate routine processes by running commands or scripts at specific intervals. It’s ideal for backups, report generation, or cache cleaning tasks.
Visit https://yourdomain.com:8443
and log in. From the left menu, go to “Tools & Settings” → “Scheduled Tasks”.
Click “Add Task” to create a new scheduled job. Fill in the following details:
/usr/bin/php /var/www/vhosts/yourdomain.com/httpdocs/cron/backup.php
Minute: 0 Hour: 2 Day of Month: * Month: * Day of Week: *
This schedule runs the task every day at 2 AM.
To receive email notifications after execution, enter your email under “Notify”.
Click “OK” to save the cron job. You can monitor results under the “Last Run” column.
Note: Ensure file permissions (755) and PHP paths are correct, or the scheduled task may fail to execute.