Page 1 of 1

send email automatically

Posted: Wed Apr 23, 2003 10:28 am
by mathewvp
Hi,
Is there any way to do some kind of automatic checking on the database and based on that result make some scripts work?For example I want to check the birthdays of members from a database table on a daily basis and if there is one, a greeting card to be send.Can the checking be done automatically.Is there a way in PHP or in mySQL ie without using the server programs like cron?

Posted: Wed Apr 23, 2003 10:31 am
by d1223m
there is nothing directly in php or mysql

some 3rd party thing needs to call the script every day todo the checking.

well... actually.. you could run a php script from the command line and just leave it running forever. of course the script would only duplicate the functionality of cron. there is actually a crond written in php. i think the name is something original like phpcron

Posted: Wed Apr 23, 2003 11:20 am
by m3mn0n