How to make cpanel send an e-mail when disk usage goes over quota?

1.9k Views Asked by At

I am hosting a few websites on a hosting account with 6 GB of space. The websites occupy only about 700 MB. But I have some plugins with various troubles generating error_log files that can get pretty big.

The last error_log had 4 GB and my quota jumped over a few days ago.

So is there a way to make cpanel send me an e-mail when quota goes over a set value?

Should I made a cron job for that?

1

There are 1 best solutions below

0
On

I hope this is what you are looking for...

In cPanel on Contact Information & Preferences you can setup an email and then check "Send notifications to your contact email address when you are reaching your disk quota."