Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old January 28th, 2003, 01:42 PM
xgab xgab is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 29 xgab User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Continuously check MySQL tables (scheduler)

Hi! I would need to build a scheduler system using PHP-Apache-MySQL under Windows or Linux, that enable me to schedule pager messages to different users.

There should be a form from which a user would post his preferences, telling the system that he wants to receive a certain kind of pager message for example each: Mon-Wed-Fri at 8am, etc, etc and schedule his messages.


From my side, I think there should be a process that continuously checks the MySQL tables to see if there is any pending messages to be sent on that moment and accept new ones.

Any idea on how to build it ?
Do you know any Open Source solution ?

I look forward to your quick reply
Thank you very much in advance!
Gabriel

Reply With Quote
  #2  
Old January 29th, 2003, 03:47 PM
NetproHosting NetproHosting is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Apex, NC, USA
Posts: 31 NetproHosting User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to NetproHosting
RE: Continuously check MySQL tables (scheduler)

Hi Gabriel,

If I were doing something like this, I would use a cron job. The cron job would be scheduled to run at all intervals allowed by your sign up form (e.g. M-F @ 8:00, M-F @ 9:00, etc.).

The script that is called would do the heavy lifting of checking the database for any new messages, and then looking to see if anyone is subscribed to receive messages at that interval.

Probably a more elegant way to do it, but this should do the trick. Hope that helps.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > Continuously check MySQL tables (scheduler)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway