Originally Posted by
oku
Hello everyone,
Well i've just searched the forum to see if my question has been answered prioer to posting, but seem to find the answer.
Well basicly i've created a script to help me monitor and maintain the domain names my company owns (1000's)
I've virtually finished it but i am missing one bit - the auto email's reminding me when a domain will expire - I know you get the reminders from registrars but they only send to myself and others need to know this informaiton eg: Marketing, IT dept and i dont want them to have access to the domain contral panel at the registrar.
So i've been looking up possible ways to generate an automated email - but to no avail.
I have the following fields in my database:
domain_name, company_name, exp_date (Which is the expiry date in 0000-00-00format
So i was wondering if a cron job script can be run daily to check the domains that will expire in the next 7 days. For example if a domain had a exp_date as 2008-05-16 when the script is run on the 2008-05-09 an email will be sent to telling me such a domain is expiring soon.
If any 1 can point me in the right direction, i'd be very greatful
Many thanks
Dan
Which do you have problems with, writing the PHP script or adding the script to cron?
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!