Create the new file roundcube.sh and insert the following code. #!/bin/sh for ROUNDCUBE in `ps aux | grep roundcube | awk -F ” ” ‘{print $10}’ | awk -F “:” ‘{print $1}’`; do if [ $ROUNDCUBE -ge 20 ]; then pkill -u cpanelroundcube echo “kill roundcube process roundcube”; fi done You can add the cron […]
See More