Actually my requirement is that, I have to send email after some (pre-defined) time interval (which is set by Admin through admin panel etc) like "After every week" or "every fortnight" or "every month" or "daily".
I have inserted all data i.e users email info etc and the time interval after which email notification is to be sent in Database.
Now I am required to run a script in cron job to send email notifications to users with their respective (repeating) time interval (set by admin and stored in DB). I am confused how to do so.
So can anyone kindly help me out to resolve this problem. Thanks in advance.