list_all_crons
This is an old revision of the document!
List cron for a user:
crontab -u username -lList crons for every user
for user in $(cut -f1 -d: /etc/passwd); do echo -$user-; crontab -u $user -l; done
for cron in `ls -1 /var/spool/cron/crontabs/`; do echo "${cron}'s crontab";crontab -l -u $cron | grep -v '#' ;echo;done
Viewing Cron Start Time
date; echo; ps -ef --sort=start_time | grep php | head -n 15
list_all_crons.1456731398.txt.gz · Last modified: 2024/05/23 07:26 (external edit)