Auto Increasing Quota for User.

Hi,

I would like to know wheather we can increase the quota for particular user automatically?

I am having requirement to increase the quota only for 2 days in a week. but that shoule be automatically instead of manualy modification.

is it possible?

Unix systems generally strive to be as inert as possible. In addition to assuming as little as possible, it helps ensure the system is operating exactly how you intended it to operate since it has required you to be specific about what you're wanting it to do and to tell it to do it at some point. There's also a large impulse to re-use software components so as to reduce bugs and to keep from forcing the user to re-learn too much.

So yes it's possible but it will never be a native feature of the quota system. Scheduled changes of any sort on a Unix system are expected to come in the form of a cronjob or an AT job. Personally it sounds like you're wanting the latter, so I would schedule an AT job where it issues whatever the desired setquota would be. If it's temporary you can just schedule a second one for several weeks out that issues another setquota that puts it back where it currently is now.

Thanks Thmnetwork for your response, But in command line what I have mentiond regarding soft and hard limits while configuring at jobs in command line

from below output.

Disk quotas for user test (uid 500):
Filesystem blocks soft hard inodes soft hard
/dev/sda5 10068 400000 400000 2 0 0

You would be scheduling a setquota(8) once to put the increase in place and then another two days afterwards where another setquota is scheduled to set them back to the "normal" value.