Skip to content

Instantly share code, notes, and snippets.

@andreas-bergstrom
Created October 4, 2012 13:46
Show Gist options
  • Select an option

  • Save andreas-bergstrom/3833617 to your computer and use it in GitHub Desktop.

Select an option

Save andreas-bergstrom/3833617 to your computer and use it in GitHub Desktop.
List cronjobs for all users
// With sudo or as root-user
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment