cron and crontab

cron, crontab and the Schedule Syntax

The cron daemon wakes every minute and runs each crontab line whose schedule matches. Edit your crontab with crontab -e, list it with -l, and beware -r, which deletes it without asking. A line holds five fields (minute, hour, day of month, month, day of week with 0 and 7 as Sunday), then the command. * is every value, 1,15 a list, 9-17 a range, */5 a step:

Appending an every-minute job and checking that it firedShell
(crontab -l 2>/dev/null; echo "* * * * * date '+\%F \%T tick' >> /tmp/tick.log") | crontab -
sleep 180; cat /tmp/tick.log
sudo journalctl -u cron --since -1min -o cat -g tick
Output
2026-09-23 14:03:01 tick
2026-09-23 14:04:01 tick
2026-09-23 14:05:01 tick
(dev) CMD (date '+%F %T tick' >> /tmp/tick.log)

CMD proves cron started the job, not that it worked, so log its output. Laravel 2,157 's scheduler (Laravel) needs exactly one every-minute line, running php artisan schedule:run.