Correct Quota

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,632
Location
A Coruña, Spain
Hi,

ive a crontab on my freebsd machine that control user space of every user. cause sometimes directadmin say that a user use much more the real use of disk space...

0 5 * * * /sbin/quotaoff -a; /sbin/quotacheck -avug; /sbin/quotaon -a; >/dev/null 2>&1
30 5 * * * /bin/echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue >/dev/null 2>&1


i've tryed this on debian but doesnt work correctly...

quotacheck: Cannot remount filesystem mounted on / read-only so counted values might not be right.
Please stop all programs writing to filesystem or use -m flag to force checking.


some one can help me make this cron working on debian?

thanks all
 
Back
Top