Cron Jobs
Schedule automated tasks on Hostinger with cron jobs in hPanel, including cron syntax, common schedules, PHP script commands, and capturing output to logs.
Schedule commands or scripts to run automatically — emails, reports, cleanup, app tasks.
Create a cron job
Open your website dashboard.
Go to Cron Jobs.
Click Create Cron Job.
Set the schedule and command.
Click Save.
Cron syntax
Standard cron — five fields:
* * * * * command to run
│ │ │ │ │
│ │ │ │ └── Day of week (0–7, Sunday = 0 or 7)
│ │ │ └──── Month (1–12)
│ │ └────── Day of month (1–31)
│ └──────── Hour (0–23)
└────────── Minute (0–59)Common schedules
Every minute
* * * * *
Every 5 minutes
*/5 * * * *
Every hour
0 * * * *
Daily at midnight
0 0 * * *
Daily at 8:00 AM
0 8 * * *
Every Monday at 9:00 AM
0 9 * * 1
First day of every month
0 0 1 * *
hPanel also has a visual schedule builder.
Commands
Typically a PHP script, shell script, or system command.
Run a PHP script
WordPress cron
WordPress's built-in wp-cron runs on page visits. For reliability, disable it and use a real cron job:
Add to
wp-config.php:Create a cron job:
Manage cron jobs
All jobs are listed in the Cron Jobs panel. Click to edit, or Delete to remove.
Capturing output
Output is discarded by default. Redirect it to a log file for debugging:
Last updated: July 21, 2026
Last updated
Was this helpful?