cron job list code example
Example 1: check active cron jobs linux
systemctl status cron
----------OR---------------
crontab -l
Example 2: list cron jobs for all users
for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done
systemctl status cron
----------OR---------------
crontab -l
for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done