cron

cron #

References #

Monitoring cronjobs #

Monitoring cronjobs with Prometheus

Crontab #

Print crontabs for all users:

find /var/spool/cron -type f -printf 'USER: %u \n' -exec cat {} \;
[root@rocky8 ~]# find /var/spool/cron -type f -printf 'USER: %u \n' -exec cat {} \;
USER: root 
* * * * * sleep 2
USER: vagrant 
* * * * * sleep 3