Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When I want to see tasks from root, it say "no crontab for root". I need to find all tasks from all users, and then I will fix bug in it (I don't know where that task is). How can I find user name?

Redhat Enterprise.

share|improve this question

migrated from stackoverflow.com Sep 7 '12 at 7:32

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 1 down vote accepted

List the contents of /var/spool/cron - will provide you a list of all of the users that have cron entries.

Then you can use:

[root@server ~]#crontab -u username -l   

replace the username , from cron file contents.

share|improve this answer
    
crontabs can also come from other places, such as /etc/crontab or /etc/crond.d/. –  kkeller Sep 6 '12 at 11:38

when you want to use a webgui take a look at webmin

by default the cronjobs are stored under /var/spool/cron/crontabs/ username

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.