Nifty little one liners to find who’s running that problematic cronjob:

for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done

One Response to “Show Crontabs for All Users”
  1. Alex Brandt says:

    You could alternatively skip the loop: `cut -f1 -d: /etc/passwd | xargs -i{} crontab -lu {}`.

  2.  
Leave a Reply