set_tweaksetting function
Hi Guys,
Using the whmapi1 I have a bash script that use the set_tweaksetting function.
I'm having trouble finding the key for "Enable mailbox usage warnings". I can see there are keys for emailusers_mailbox_warn_percent, emailusers_mailbox_critical_percent and emailusers_mailbox_full_percent.
Does the key exist?
-
Hi, The key you want is "skipboxcheck". One way to find the tweaksetting key name is to look in /usr/local/cpanel/whostmgr/docroot/themes/x/tweaksettings/Main.yaml. Search that file for the text that appears in the UI and you will find the key. 0 -
Hey Kenneth, Thanks! That's exactly what I was looking for. I was thrown off by the "skip" part on the key name. Works great now. 0
Please sign in to leave a comment.
Comments
2 comments