Re: crontab info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
 The ASCII ribbon campaign     ( )               ben.steeves@xxxxxx
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/ascii    / \     Yahoo Messenger: ben_steeves




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux