Skip to content

Instantly share code, notes, and snippets.

@tcurvelo
Created July 18, 2017 19:00
Show Gist options
  • Save tcurvelo/42c055be31910bc912cf7c961fe0f00e to your computer and use it in GitHub Desktop.
Save tcurvelo/42c055be31910bc912cf7c961fe0f00e to your computer and use it in GitHub Desktop.
Get all contrabs jobs
for user in $(getent passwd | cut -f1 -d: ); do
crontab -u $user -l && echo $user && printf '=%.0s' {1..100} && echo ;
done 2> /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment