Skip to primary content

42

Web notebook about thoughts and discoveries in DevOps, SRE, Software Engineering….

42

Main menu

  • Home
  • About
  • contact
  • Links

Post navigation

← Previous Next →

Get a list for all crontab jobs in a server

Posted on 6 December 2019 by kosmas

To get a list of all the installed crontab jobs on a server use the following (taken from https://stackoverflow.com/a/134944)

for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done

This entry was posted in Bash, linux and tagged crontab, linux by kosmas. Bookmark the permalink.
Proudly powered by WordPress