Cron jobs automatically call a PHP script or URL on a fixed schedule. Typical uses are WordPress maintenance, newsletter sending, imports or regular backups.
Steps
- 1 Click "CronJobs" on the left, then "New job".
- 2 Enter a command: either a full URL or a PHP command.
- 3 Choose a schedule or enter cron syntax manually: minute hour day month weekday.
- 4 Save. The job runs at the next scheduled time.
- 5 After the first run, check whether the script completed without errors.
Cron syntax: examples
- Every minute
- * * * * *
- Every 15 minutes
- */15 * * * *
- Hourly
- 0 * * * *
- Daily at 6
- 0 6 * * *
- Mondays at 8
- 0 8 * * 1
- First day of month
- 0 0 1 * *