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
My first experience with VPS and I din't really know what to do or what to expect. AykSolutions.com team help me and during the entire process, they are patient and problem solving peoples. Cheers,
Very courteous, professional, and willing to help. They truly care about client based relationships and satisfaction. I will definitely refer more clients their way, and highly recommend Ayksolutions to anyone seeking truly the best.
AYK Solutions has provided me with a very cost effective hosting service with great uptime and lots of features. I would not hesitate to recommend them!