schedular

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
call
Forum Newbie
Posts: 10
Joined: Thu Mar 18, 2004 12:15 am
Location: india

schedular

Post 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.
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post 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.
call
Forum Newbie
Posts: 10
Joined: Thu Mar 18, 2004 12:15 am
Location: india

Post 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
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post 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
call
Forum Newbie
Posts: 10
Joined: Thu Mar 18, 2004 12:15 am
Location: india

Post by call »

thanks I will from next time.
Post Reply