0

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.

2 Answers 2

1

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.

1
  • crontabs can also come from other places, such as /etc/crontab or /etc/crond.d/.
    – kkeller
    Sep 6, 2012 at 11:38
0

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .