[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: crontab info
- From: Ben Steeves <bcs metacon ca>
- To: fedora-list redhat com
- Subject: Re: crontab info
- Date: Mon, 26 Jan 2004 19:45:47 -0400
On Mon, 2004-01-26 at 19:33, Yohann Desquerre wrote:
> Hi all,
>
>
> I wonder if is there any way to get the crontab of all the user of a
> system ???
This isn't perfect, but it'll do the job...
$ perl -e 'while (($name) = getpwent) { print "Crontab for: $name\n";
print `crontab -l -u $name`; print "-" x 80; }' > crontabs.txt
--
Ben Steeves _ bcs metacon ca
The ASCII ribbon campaign ( ) ben steeves unb ca
against HTML e-mail X GPG ID: 0xB3EBF1D9
http://www.metacon.ca/ascii / \ Yahoo Messenger: ben_steeves
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]