PDA

View Full Version : MySQL How can i create a self-executing php script?



darroosh
August 25th, 2008, 08:35 AM
Hi all ,

I want to create a php-script that sends emails to users every week
How can this be done ?

simplistik
August 25th, 2008, 08:41 AM
cronjob

darroosh
August 26th, 2008, 04:15 AM
Thank u ,
But I think cron job is unix program , what if I want to do this on a windows environment

simplistik
August 26th, 2008, 10:02 AM
never done it in windows myself but http://drupal.org/node/31506 has the method of doing it, of course the whole drupal and renaming stuff is user defined, but you get the picture :)

ramie
August 26th, 2008, 10:19 AM
On windows it is called a "scheduled task" :|

darroosh
August 26th, 2008, 11:36 AM
Thank u both ..