Cron jobs run commands on a schedule — perfect for maintenance scripts, report generation, or CMS tasks.
Create a cron job
- Go to Advanced Features → Cron Jobs.
- Click Add Cron Job.
- Set the schedule using minute, hour, day, month, and weekday fields (or use a preset such as daily).
- Enter the command — often a PHP script path such as
/usr/local/bin/php /home/user/domains/example.com/public_html/cron.php. - Save the job.
Best practices
- Use full paths to PHP and scripts.
- Redirect output to a log file for debugging.
- Avoid running intensive jobs every minute.
Many applications provide the exact cron command in their documentation — copy it exactly.