Cron Jobs¶
Cron jobs allow you to automatically execute commands or scripts at scheduled times. Typical use cases include regular database cleanups, email sending, cache refreshes or WordPress maintenance tasks.
Overview¶
The cron job table shows all your configured cron jobs:
| Column | Description |
|---|---|
| Command | The command or script path to be executed |
| Schedule | Cron expression (minute, hour, day, month, weekday) |
| Status | Active or Disabled |
| Last Execution | Time of the last execution |
Create Cron Job¶
- Click Create Cron Job
- Fill in the form:
| Field | Required | Description |
|---|---|---|
| Command | Yes | The command to be executed |
| Minute | Yes | Minute (0–59 or * for every minute) |
| Hour | Yes | Hour (0–23 or * for every hour) |
| Day | Yes | Day of the month (1–31 or * for every day) |
| Month | Yes | Month (1–12 or * for every month) |
| Weekday | Yes | Day of the week (0–7, where 0 and 7 = Sunday, or * for every day) |
- Click Create
Quota
The maximum number of cron jobs depends on your hosting package. You can see the remaining quota in the dashboard.
Schedule Syntax¶
The schedule is specified as a cron expression. Here are the five fields:
┌───────────── Minute (0–59)
│ ┌───────────── Hour (0–23)
│ │ ┌───────────── Day of Month (1–31)
│ │ │ ┌───────────── Month (1–12)
│ │ │ │ ┌───────────── Day of Week (0–7, Sun=0 or 7)
│ │ │ │ │
* * * * *
Special Characters¶
| Character | Meaning | Example |
|---|---|---|
* |
Every value | * * * * * = every minute |
, |
List | 0,30 * * * * = at minute 0 and 30 |
- |
Range | 0 9-17 * * * = hourly from 9 to 17 |
/ |
Interval | */15 * * * * = every 15 minutes |
Common Examples¶
Every 5 Minutes¶
Daily at 3:00 AM¶
Hourly on the Hour¶
Every Monday at 6:00 AM¶
First Day of Every Month at Midnight¶
Every 30 Minutes, Weekdays Only¶
Practical Examples¶
Run WordPress Cron¶
WordPress requires regular cron calls for scheduled posts, plugin updates and maintenance tasks:
WordPress wp-cron.php
For better performance, disable the built-in WP-Cron in wp-config.php with define('DISABLE_WP_CRON', true); and use the server cron job instead.
Run PHP Script¶
Database Cleanup via URL¶
Clear Cache¶
Suppress Output
Append > /dev/null 2>&1 to your command to suppress output. Otherwise, output will be sent as an email to the system user.
Edit Cron Job¶
- Click the edit icon next to the cron job
- Adjust the command or schedule
- Click Save
Enable / Disable Cron Job¶
You can temporarily disable a cron job without deleting it:
- Click the status toggle next to the cron job
- The cron job is immediately enabled or disabled
Delete Cron Job¶
- Click the delete icon next to the cron job
- Confirm the deletion in the dialog
Notes and Restrictions¶
No Direct Crontab Access
For security reasons, cron jobs are managed exclusively through the panel. Direct access to the system crontab via SSH is not possible.
Execution Frequency
Be careful not to run your cron jobs too frequently (e.g. every minute), as this consumes server resources. Choose the lowest sensible frequency.