Quota checks for mailbox disk quota and usage question
In order to run the process that checks mail quota and sends warnings I can call from Terminal this command:
/usr/local/cpanel/scripts/quotacheck
But if I don't call it, how many times per day/hour cPanel checks the user mail quota and sends a mail warning?
Let's suppose /var/cpanel/quotawarned is still empty
I need to know because I'm doing some tests, it seems it's not sending these type of warnings unless I call /usr/local/cpanel/scripts/quotacheck manually, even if in the Tweak Settings I have turned on "Enable mailbox usage warnings" and "Mailbox disk quota "critical" percentage" set to 90%
EDIT: in thread title there is a misspelling, it should be "checks", but I can't fix it.
-
I believe that quotacheck is called once a day as part of the upcp routine 0 -
I believe that quotacheck is called once a day as part of the upcp routine
Ouch, if that is true, it's quite annoying, because I set cPanel to update itself once a month, hence my upcp runs once a month. o_O It seems you are right, I looked into /usr/local/cpanel/scripts/upcp ... ...and it calls /usr/local/cpanel/scripts/maintenance script... ...that calls /usr/local/cpanel/scripts/quotacheck :mad:0 -
Hello, cPanel by default does not do a "monthly" update it performs an automated maintenance update nightly. quotacheck is run as part of the maintenance script. I would absolutely not suggest manipulating the upcp cron, if you don't want cPanel to update regularly I'd modify the setting in WHM>>Server Configuration>>Update preferences though an automated "monthly" update is not something that is available. 0 -
Hello, cPanel by default does not do a "monthly" update it performs an automated maintenance update nightly. quotacheck is run as part of the maintenance script. I would absolutely not suggest manipulating the upcp cron, if you don't want cPanel to update regularly I'd modify the setting in WHM>>Server Configuration>>Update preferences though an automated "monthly" update is not something that is available.
I have got it now. :-p0 -
I turned on the upcp cron job, now it runs every night. Is there a way to get upcp cron stop sending the Cron Daemon mail message every night? 0 -
Hello, You can set that cron job to send to /dev/null so you stop getting the notification just append the following to the end like following: > /dev/null 2>&10
Please sign in to leave a comment.
Comments
6 comments