Quota Report Script
Daniel Eckl
deckl at nero.com
Wed Jun 28 04:19:52 EDT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quota_watchdog.sh
Type: application/x-shellscript
Size: 1092 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20060628/a70e05ba/quota_watchdog.bin
More information about the Info-cyrus
mailing list