Page 1 of 1
CRONTAB
Posted: Wed Mar 11, 2009 1:01 am
by jothirajan
Hi all
I want to send an email automatically using CRONTAB...any help how can i get this done.
Any help ?...
Re: CRONTAB
Posted: Wed Mar 11, 2009 1:09 am
by requinix
I assume you want to use PHP for this?
Scheduling a script is the hardest part, and
searching around is the easiest way to solve that.
Then all you have to do is create a PHP script, preferably
not anywhere accessible over the web, that sends the emails. You can do anything in it you normally would: database access, include and require files, etc. There are a couple limitations, like how some $_SERVER variables might not be available and how anything you output will be emailed to you as a result of the cron job, but they are few and far between. Keep them in mind and you'll be fine.
Re: CRONTAB
Posted: Thu Mar 12, 2009 7:13 am
by jothirajan
Thanks for getting me a point.. i got the output...
Thanks forum