On 11/07/12 23:44, Dr. Trigon wrote:
Sorry Trigon, but it doesn't work. It is calculating the percentage of the hard limit at which your soft limit is set. Not really what you wanted :)
May be we do not have the same 'quota -v' output, mine is:
Disk quotas for drtrigon (uid 1340): Filesystem usage quota limit timeleft files quota limit timeleft /home 308.2M 500.0M 1000.0M 6016 0 0
You have to consider that '1340' from '(uid 1340)' does also match the regex, so it should work fine. At least for me it does for shure since I got mail as expected. :)
I stand corrected. I had only tested with the second line.
Cheers