Skip to content

Instantly share code, notes, and snippets.

@KeyboardInterrupt
Created October 25, 2019 08:02
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 KeyboardInterrupt/2368422d34730442c2c87805faa1046b to your computer and use it in GitHub Desktop.
Save KeyboardInterrupt/2368422d34730442c2c87805faa1046b to your computer and use it in GitHub Desktop.
list all user specific crontabs
#!/bin/bash
for user in /var/spool/cron/crontabs/*
do
echo #${user}'s crontab:
cat ${user}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment