How do I go about creating a cron job to send an email to customers at a specified date? Lets say I have created an email that will be sent to customers every month notifying them of something....this script will access my database, grab the customers email addresses and send. I can manually send an email to many customers but I would like to use a cron job to do this. is this possible?
Thanks.
jatar_k
3:54 pm on Aug 1, 2007 (gmt 0)
absolutely
you create a script that does exactly what you describe and then schedule it via cron
about that easy
RonPK
5:10 pm on Aug 1, 2007 (gmt 0)
It depends on your PHP installation as to how you can run scripts with cron. If you only have an Apache module, you'll need to call the script with a web client, basically like this: