This is a discussion on list every user's crontab script within the Shell scripting forums, part of the Development/Scripting category; Hi everyone, I have a small issue. I have a lot of users on my server and I would like ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hi everyone,
I have a small issue. I have a lot of users on my server and I would like to check out their crontab, but doing it manually would take a lifetime. Can anyone help me with a small script which will read /etc/passwd and output every user's crontab? The command is crontab -u user -l I think. Any ideas? Thank you. |
| Sponsored Links | ||
|
|
|
|||
|
Quote:
-bash-2.05b# cat /etc/passwd | cut -d: -fl | xargs crontab -l -u cut: [-cf] list: illegal list value -bash-2.05b# |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| crontab | click007 | Getting started tutorials | 6 | 10-19-2007 05:45 PM |
| Alphabetical file name and list logged in user script | oronno | Shell scripting | 5 | 08-22-2007 01:10 PM |
| Crontab | lacloai | Linux software | 2 | 06-01-2007 04:44 AM |
| start and stop service in crontab. | gthian | Shell scripting | 7 | 05-31-2007 12:04 PM |
| about crontab | darknet | Shell scripting | 2 | 01-04-2007 07:01 PM |