If you want to dive into awk, I would recommend you this awk tutorial. Full of examples and techniques.
Daily Archives: August 19, 2005
Finding the crontab for all of your users.
I wrote a quick and dirty one liner script to find all the crontabs of all users in your system. Here it goes:
cat /etc/passwd | cut -d “:” -f 1 | xargs -n1 crontab -l -u