/usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings - Update only one setting speed
Is there any way to only update one setting? instead of running through the entire process?
-
Hey Matt, You can use the API: [url=http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/SetTweakSetting]set_tweaksetting Ex: curl -k -H "Authorization: WHM root:$(tr -d '\n' < /root/.accesshash)" "https://localhost:2087/json-api/set_tweaksetting?api.version=1&thing_to_set&value=1"0 -
You are my hero. I looked at the API docs for like 40 minutes looking for something. 0 -
I am happy to see the solution was helpful. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
3 comments