[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] quotas anyone
- Subject: Re: [cobalt-users] quotas anyone
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Tue May 28 09:27:56 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
"Ian" <ian@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi Gerald,
>
> > repquota -a -v | mail -s quotas admin@xxxxxxxxxx
>
> That was quite simple so thanks for that.
>
> Within the results produced, does any one know what the +- or ++ means
next
> to the users name, ie most have just username --, but some have a +- or
++..
>
> Can I place the repquota safely into a simple perl script and place that
> into the cron folder to have it executed automatically....
No need to do that. Create a text file with the following:
#!/bin/sh
repquota -a -v | mail -s quotas admin@xxxxxxxxxx
then chmod 700 and chown root:root and put the file in whatever cron
directory you want it in.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/