All cron examples
Cron expression: every 30 seconds (workaround)
Standard cron cannot run more often than once a minute — this page shows the common workaround.
* * * * *Field by field
| Field | Value | Meaning |
|---|---|---|
| Minute | * | Every minute |
| Hour | * | Every hour |
| Day of month | * | Every day of the month |
| Month | * | Every month |
| Day of week | * | Every day of the week |
Typical uses
- High-frequency polling where a proper scheduler/daemon isn't available
Good to know
- Workaround: schedule the job every minute twice — once as-is and once wrapped in a 30-second delay:
* * * * * /path/joband* * * * * sleep 30; /path/job. - If you need sub-minute scheduling regularly, prefer a real scheduler (systemd timers with OnUnitActiveSec, a worker loop, or your platform's queue).
Related schedules
Need a different schedule? Build and validate any cron expression visually with the free Cron Expression Builder.