as root:
i modified the original post to show the user's username:
for user in $(cut -f1 -d: /etc/passwd); do echo "crontab for $user:";crontab -u $user -l; done
dont forget to also:
cat /etc/crontab
original:
for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done
No comments:
Post a Comment