Re: Quota Report Script

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

 



Hi David!

I attached my script.
I run it with cron as user cyrus every day at 5 a.m.

Every user which is over the quota warning level will get a warning mail. And for every user which gets a mail, the script prints out username and quota to stdout, so cron will send a mail to the cyrus user. You have to route the mails to "cyrus" user to you and you are fine.

Hope that helps or at least I hope that gives you some ideas.

Best,
Daniel

David E. Meier schrieb:
Hello List,

before I start reinventing the wheel I wonder if someone has already a
script that reports all user quotas.

Thanks, Dave.

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Attachment: quota_watchdog.sh
Description: application/shellscript

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux