How to Terminate old suspended accounts on cpanel server

How to Terminate old suspended accounts on cpanel server

26
0
SHARE
Linux Reseller Hosting

Terminate old suspended accounts on cpanel server

Following scripts

1) vi /root/terminatesuspended.sh

for i in `find /var/cpanel/suspended/ -mtime +90 | cut -d'/' -f5 | sed '1 d'`
do
y | /scripts/killacct $i --killdns n;
done;

2) sh /root/terminatesuspended.sh &

3) Done

Windows Shared Hosting