Last Updated: 2022-05-26
Here's how to do a few basic things with cronjobs:
grep CRON /var/log/syslog
* * * * * /folder/myprogram
Each star represents a unit of time, with the first being the minute, the next the hour, day (of month), month (of year), and - confusingly since it breaks the order established - the day of the week.
$ crontab -l
(crontab -l 2>/dev/null; echo "* * * * * php /path/to/artisan horizon") | crontab -