Re: [WebDNA] Timer

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 101731
interpreted = N
texte = Sorry for the delayed response, Christmas holidays and all. Happy New Year everyone! Dylan, after reading your response I think I need to explain in more detail. I need the software to check on the status of a database and a plain text file every few seconds. When the software detects that the database or the file has changed, it must send a response to all connected visitors. I'll be keeping connections open to these visitors for the sole purpose of sending them an update every few seconds. An update will be sent whether or not something has changed since the last update. This is necessary to keep visitors informed that they are still online and connected. I've read that triggers are buggy so I don't think I should rely on them until they are fixed. This checking and updating capability is absolutely critical to the application, so this may mean it should be done with cron. If this software can interface with cron and run cron events can someone post a code example to help me get started? I run Linux servers exclusively, and I could have hundreds of servers running this distributed online system at any given moment. They are generic servers, not all the same OS and not all the same hosts, so I'll need software that works on all of them. From what I've read it looks like the company is building such a new version for Linux so maybe this is good timing. ----------- Jason On 12/21/08, Dylan Wood wrote: > Jason- > > As long as the event your talking about yields some sort of evidence > that it occurred, you can use webdna to detect that. then trigger your > own process whatever it may be. WebDNA can read files and folders, so > if the event you are talking about impacts the file system, you should > be able to detect it. > > On Dec 21, 2008, at 5:28 AM, Jason Adams wrote: > >> Hello I'm new here and new to WebDNA. Hoping to get some help from >> anyone who knows. Can WebDNA detect server events then send data to >> all logged in visitors incrementally? >> >> I may need to build a site that sends data from the server >> incrementally, every second or every few seconds, if it has changed >> since the last incrementing event. Wondering if WebDNA can do this? >> >> ----------- >> Jason >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Timer (Patrick McCormick 2009)
  2. Re: [WebDNA] Timer ("Jason Adams" 2009)
  3. Re: [WebDNA] Timer ("Psi Prime, Matthew A Perosi " 2009)
  4. Re: [WebDNA] Timer (Terry Wilson 2009)
  5. Re: [WebDNA] Timer (Terry Wilson 2009)
  6. Re: [WebDNA] Timer (Donovan Brooke 2009)
  7. Re: [WebDNA] Timer ("Jason Adams" 2009)
  8. Re: [WebDNA] Timer (christophe.billiottet@webdna.us 2009)
  9. Re: [WebDNA] Timer ("Jason Adams" 2009)
  10. Re: [WebDNA] Timer (Dylan Wood 2008)
  11. [WebDNA] Timer ("Jason Adams" 2008)
Sorry for the delayed response, Christmas holidays and all. Happy New Year everyone! Dylan, after reading your response I think I need to explain in more detail. I need the software to check on the status of a database and a plain text file every few seconds. When the software detects that the database or the file has changed, it must send a response to all connected visitors. I'll be keeping connections open to these visitors for the sole purpose of sending them an update every few seconds. An update will be sent whether or not something has changed since the last update. This is necessary to keep visitors informed that they are still online and connected. I've read that triggers are buggy so I don't think I should rely on them until they are fixed. This checking and updating capability is absolutely critical to the application, so this may mean it should be done with cron. If this software can interface with cron and run cron events can someone post a code example to help me get started? I run Linux servers exclusively, and I could have hundreds of servers running this distributed online system at any given moment. They are generic servers, not all the same OS and not all the same hosts, so I'll need software that works on all of them. From what I've read it looks like the company is building such a new version for Linux so maybe this is good timing. ----------- Jason On 12/21/08, Dylan Wood wrote: > Jason- > > As long as the event your talking about yields some sort of evidence > that it occurred, you can use webdna to detect that. then trigger your > own process whatever it may be. WebDNA can read files and folders, so > if the event you are talking about impacts the file system, you should > be able to detect it. > > On Dec 21, 2008, at 5:28 AM, Jason Adams wrote: > >> Hello I'm new here and new to WebDNA. Hoping to get some help from >> anyone who knows. Can WebDNA detect server events then send data to >> all logged in visitors incrementally? >> >> I may need to build a site that sends data from the server >> incrementally, every second or every few seconds, if it has changed >> since the last incrementing event. Wondering if WebDNA can do this? >> >> ----------- >> Jason >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > "Jason Adams"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Emailer 1.01 bombs (1997) Date Sorting (1997) Deleting duplicates from a db (2000) Help! WebCat2 bug (1997) Line items in table cells (1997) Nested tags count question (1997) Databases (2000) Emailing html (1998) Comments in db? (1997) did I miss anything (1997) Problems passing [SKU] with $Replace in 2.0 (1997) Two prices in shoppingcart? (1997) Re:quit command on NT (1997) WC1.6 to WC2 date formatting (1997) WebCat, The Trend, & Consolidating... (1997) RE: NewCart+Search with one click ? (1997) WebCat2: Items xx to xx shown, etc. (1997) carriage returns in data (1997) Sending emails (went[ot] ) (2002) WebCat and Flash (2000)