Cron job every minute
To run a cron job every minute, use * * * * *. Every minute.
- Free
- No Sign-Up
- Runs in Your Browser
Runs
Next Runs
Your time zoneSaturday10 Oct 2026, 23:04
Saturday10 Oct 2026, 23:05
Saturday10 Oct 2026, 23:06
Saturday10 Oct 2026, 23:07
Saturday10 Oct 2026, 23:08
Crontab Line
* * * * * /path/to/job.sh >> /var/log/cron-job.log 2>&1
Cron Expression Generator
* * * * * explained
Expression* * * * *
MeaningEvery minute
Runs per Week10,080
Crontab Line* * * * * /path/to/job.sh
systemd OnCalendar*-*-* *:*:00
Time ZoneThe server's, unless CRON_TZ is set
Cron checks the schedule once a minute and starts the job at the start of each matching minute, in the server's time zone.
If a run can take longer than the gap between runs, stop runs overlapping with flock: * * * * * flock -n /tmp/job.lock /path/to/job.sh. A second copy then exits straight away instead of piling up.
Cron runs jobs with a minimal environment: use full paths, and send output to a log file (>> /var/log/job.log 2>&1) so errors are not lost.
Other Schedules
Every Minute · * * * * *Every 2 Minutes · */2 * * * *Every 5 Minutes · */5 * * * *Every 10 Minutes · */10 * * * *Every 15 Minutes · */15 * * * *Every 30 Minutes · */30 * * * *Every Hour · 0 * * * *Every 2 Hours · 0 */2 * * *Every 6 Hours · 0 */6 * * *Every 12 Hours · 0 */12 * * *Every Day at Midnight · 0 0 * * *Every Day at 2am · 0 2 * * *Every Day at Noon · 0 12 * * *Twice a Day · 0 0,12 * * *Every Weekday at 9am · 0 9 * * 1-5Every Weekend Day at 10am · 0 10 * * 6,0Every Monday · 0 0 * * 1Every Sunday · 0 0 * * 0First Day of Every Month · 0 0 1 * *The 15th of Every Month · 0 0 15 * *Every Quarter · 0 0 1 1,4,7,10 *Once a Year · 0 0 1 1 *
Questions
How do I run a cron job every minute?
Run crontab -e and add: * * * * * /path/to/job.sh
How do I check the cron job ran?
Look in the job's own log if it writes one, or the system log: grep CRON /var/log/syslog on Debian and Ubuntu, or journalctl -u cron (cron.service is crond on RHEL).
What is the systemd timer equivalent of * * * * *?
OnCalendar=*-*-* *:*:00 in a .timer unit. systemd timers can also catch up on missed runs with Persistent=true.
Can cron run every 30 seconds?
Not directly; the smallest unit is a minute. Add two lines: * * * * * job and * * * * * sleep 30; job. A systemd timer with OnUnitActiveSec=30s is cleaner.
Free Tools
More tools
Cron Expression GeneratorBuild a crontab schedule and see it in plain English with next run times.Chmod CalculatorLinux file permissions in octal and symbolic form, both ways.Firewall Rule GeneratorGenerate iptables, nftables and UFW rules for common server set-ups.Proxmox Resource CalculatorHow many VMs fit on a Proxmox host, with overcommit and reserves.
Run servers for other people?
Frabs stops the abuse their VMs send out, and keeps your network off blocklists.