Script to terminate suspended accounts on a cPanel server
Create a file called terminatesuspended.sh vim /root/terminatesuspended.sh Add the following code for i in `find /var/cpanel/suspended/ -mtime +30 | cut -d’/’ -f5 | sed ’1 d’` do y | /scripts/killacct $i; done; The suspended accounts username are saved under the