Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-18-2010, 08:53 AM   #1
LQ Newbie
Registered: Apr 2010
Posts: 12

Rep: Reputation: 0
All crontab jobs from all users


how can root list/edit crontabs of other users?

tnx in adv!
Old 08-18-2010, 09:00 AM   #2
Registered: Feb 2008
Posts: 84

Rep: Reputation: 16
crontab -l -u username
to list
crontab -e -u username
to edit

Hope it helps.
1 members found this post helpful.
Old 08-18-2010, 09:03 AM   #3
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,127
Blog Entries: 14

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
crontab -l -u <user> # To list crontab for the specified user

crontab -e -u <user> # To edit crontab for the specified user

Also user crontab files are stored in /var/spool/cron. You can see them all there. You can even edit them there with your favorite editor (which of course should be VIM ) but it using the above commands is probably best unless you're doing global edits.

Note that the hourly, daily, weekly and monthly special crontabs are in a different location (/etc/cron* on RHEL/Fedora/CentOS for example).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I tell if crontab jobs are axecuting ? juanb Linux - General 4 01-27-2011 10:08 AM
saving crontab jobs wolfsar Linux - Software 4 07-15-2009 08:44 PM
Better understanding of Cron Jobs/Crontab?? 200mg Linux - Newbie 3 05-15-2009 10:57 AM
Crontab not running jobs ncracraf Linux - Newbie 6 09-02-2006 03:44 PM
crontab jobs aren't running mdm_linux Linux - General 4 05-30-2005 01:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration