Setting quota via script

Hello,

As scan mail for Motus Notes does not work on databases exceeding its quota i made an agnent which sets the quotas to 0 (db.SizeQuota=0 db.SizeWarning = 0)before scanning all databases

then i reset the quotas via an other agent to all databases.

The problem occurs when resetting quotas. Only db.SizeWarning = 90 Mo is effective not db.sizequota = 100Mo. Can someone explain why please…

Thanks…