Allows you to search a variety of questions and answers
07-08-2011, 09:01 AM
You would have to run this as root, but:
Code:
for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done
will loop over each user name listing out their crontab. The crontabs are owned by the respective users so you won't be able to see another user's crontab w/o being them or root.
--[edit] if you want to know, which user does a crontab belong to insert echo $user
Code:
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
Source: http://stackoverflow.com/questions/1...-for-all-users
You can trust your business with AYKsolutions After a horrible experience with my prior host that left me with over 14 hours of downtime, AYKSolutions came in, took care of the transfer completely and made my life easier. When they say their servers are semi-managed, it means they take care of more then most managed server hosting companies. Average ticket response time? 2-5 minutes. One time i n the middle of the night it took 30 minutes. Problems that I create are fixed immediately and they take care of their customers. Artyom is the owner, who is somehow capable of not sleeping. He's always there to take care of everything with a personal touch. 3 AM on a Saturday? Not an issue for AYKSolutions. Trust me, I'm very thorough in researching a company. When it comes to business, you can never be too careful. I trust my business with AYKSolutions
I love AYK. been with them for over 5 years and the best ever
Prompt support, on New Years Eve of all days. Fixed issue within 10 minutes of submitting.