HenryJ
10-31-2004, 06:08 PM
Suppose you have a root access, how can you view the crons of all the users together, rather than going one by one for each user using crontab -u username -e or something.
is there is any command to see all of 'em together or somethign better than indivdual viewing!
thank you
Steven
10-31-2004, 06:16 PM
cd /var/spool/cron
and cat users
HenryJ
10-31-2004, 06:26 PM
thanx steve, but still we have to do each indivdual user.
And suppose if there are 200 or so users, it will be just too much time consuming since not all of them are using crons and even if all of them are using, doing cat for 200 users is pain:-p
anything better than this which can display crons for all the users?
otherwise i will have to end up a way to write a script for it.
HenryJ
10-31-2004, 06:55 PM
Thanx steve, i used the "cat *|more" and worked just like the way i wanted, thanx for help! :)