cat /scripts/crontab_show_all.sh
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
outputs a nice list like this:
in format:
user
command
root no crontab for root actualuser * * * * * echo "stuff" bin no crontab for bin daemon no crontab for daemon adm no crontab for adm ...
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!