Skip to content

Instantly share code, notes, and snippets.

@askdaddy
Created November 15, 2021 03:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save askdaddy/dcc6c7a977b5ba3ab5b9bc3c17ad61f9 to your computer and use it in GitHub Desktop.
Save askdaddy/dcc6c7a977b5ba3ab5b9bc3c17ad61f9 to your computer and use it in GitHub Desktop.
list all users crontab
awk -F: '{print $1}' /etc/passwd | xargs -i sudo crontab -u {} -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment