Jump to content

How To Trigger an Event at a Certain Time


AKalair

Recommended Posts

Hi guys,

 

It is possible to trigger an event at a certain time in PHP and MYSQL ?

 

For example I have a database of events and as each one occurs I want it to tweet out a message to Twitter

 

So it is possible to do something like:

 

if (time == timeofevent):

 

Send message

 

 

 

Thanks

 

 

 

How do things like Google Calander pop up alerts for events ?

 

 

They run JavaScript script in the browser that periodically polls server for updates.

 

I would also assume they run some sort of scheduler every minutes or so and check dates & times and send notifications.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.