Home Miscellaneous Running a script load dependently on a Cpanel Server

Running a script load dependently on a Cpanel Server

by SupportPRO Admin

We can run a script/process with a cut-off depending server load.

For Eg: if we need to run pkgacct on the server and pause the process incase the server load exeeds ‘9’ just use:

root@server [~]# /usr/local/cpanel/bin/cpuwatch 9 /scripts/pkgacct <username>

Also, the process continues when the load drops below ‘9’.

If you require help, contact SupportPRO Server Admin

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment