Friday, October 18, 2019

Auto Domain Expire Check

#!/bin/sh
_domains='/etc/domains'
sp8_chd()
{
while read line; do
echo $line >> /var/log/DomainExpire.log
whois $line | grep Expiry >> /var/log/DomainExpire.log
done < $_domains
}
sp8_chd
cat /var/log/DomainExpire.log | mail -s '[IMPORTANT] Domain Expire Reminder' rizky.md@gmail.com;
sleep 2;
echo > /var/log/DomainExpire.log

1 comment:

Tabat said...

This website and I conceive this internet site is really informative ! Keep on putting up! cool companies names

40 Hadist Seputar Keluarga Samawa (Bagian 3)

 ﷽ Ustadz Yusuf Abu Ubaidah As-Sidawi hafizahullohuta'ala Masjid Al-Aziz  Jl. Soekarno Hatta No. 662 Bandung Hadist 11 : Doa Orangtua Bu...