Page 1 of 1

schedular

Posted: Wed Mar 24, 2004 12:51 am
by call
I need to run a query periodically..say for every one hour.
Is there any thing in php like schedular in coldfusion?
plz help.

Posted: Wed Mar 24, 2004 3:16 am
by CoderGoblin
In general for things like that you use the operating system scheduler (Unix = cron job). The cron job could call php or any other language such as a shell script. It depends what you want to do.

Posted: Wed Mar 24, 2004 3:26 am
by call
in my project there are events and customers will redister for events of various dates.I want to send mail to customers one day prior to the event date. Our online server is Linux and we are developing here on windows.
Plz guide me how can I proceed. :x

Posted: Wed Mar 24, 2004 3:32 am
by patrikG
Call,

searching the forums before you post is always a good idea. Why? Because you get your answer quicker and are thus saving not only your, but also someone else's time.

To answer your question:

viewtopic.php?t=19743

Posted: Wed Mar 24, 2004 4:09 am
by call
thanks I will from next time.