All crontab jobs from all users
hello,
how can root list/edit crontabs of other users? tnx in adv! |
Code:
crontab -l -u username Code:
crontab -e -u username Hope it helps. |
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). |
All times are GMT -5. The time now is 01:54 AM. |