0

I am saving dates to the my sql database.

i want to send a mail on that day.

how can i do that under this environment

Apache, Mysql, PHP

in windows xp we can do that it scheduled tasks or by creating Windows Server.

Anyone...

Cheers

2
  • 2
    @user658637: Are you using Linux? If yes, have a look at Cron jobs. Commented Mar 14, 2011 at 12:43
  • Check it stackoverflow.com/questions/707816/… Commented Mar 14, 2011 at 12:57

1 Answer 1

0

Assuming you're running the apacheserver on Linux you can use Crontabs. Just create a PHP-script that does the interaction you want with the database, then add that as a crontab to make it run on a regular basis.

The reason I assume you're running Linux is because you already seems to have an idea on how to do it in windows.

Sign up to request clarification or add additional context in comments.

1 Comment

THanks for the reply. Actually i am working in windows xp. But i have to host my site in linux server. That is why ask the question in that way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.