?
Solved

Automatic email with php and mysql.

Posted on 2003-11-13
3
Medium Priority
?
452 Views
Last Modified: 2012-06-27
I'm running PHP and a mysql database on Unix.

I need to send an automatic email each day with information gathered from the database and clean up the database with non active users.
 
I've done this before with MS SQL server but MySQL isn't able to do server jobs. And my knowledge of Unix isn't that good to write a script that makes this possible.

Does anyone have an idea in which direction I have to look in order to make this work.

Thx in advance
0
Comment
Question by:Jeroendp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
lozloz earned 700 total points
ID: 9738088
hi,

you need to set up a cron job to run each day. it's fairly simple to do:

http://www.webmasters-central.com/t/cron.shtml

you can set it to a run a php script to do all that

cheers,

loz
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to implement server side field validation and display customized error messages to the client.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question