Re: [WebDNA] Timer
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 101741
interpreted = N
texte = I read more about triggers, they are tcp calls rather than internalcalls, the software sends each request to dns which resolves thedomain then redirects the request back to the server. I agree thattimed precision is not possible via such a system.I read the description for the shell tag, there are no examples on theshell tag page at http://docs.webdna.us (only a long list of files)but if it works for changing ownership and permission that's one issueresolved.On 1/4/09, Terry Wilson
wrote:> Have you tried triggers? I have a web app that relies on triggers to> send emails out for a number of sites, and have never had any> problems. It is a Linux server. Just because a few people have> problems doesn't men you will too. It's easy enough to try it out in> your configuration. You will always hear about problems, but the ones> of us who use them routinely with success probably don't report that.>> Terry>>>Hi Chris,>>>>I do not mean to offend but I find no reports of "trigger bugs fixed">>in the mail list archive. Instead I see several reports of failed>>triggers over a long time, including this post made just days ago:>>>>>> WebDNA Version 6>>>> In the ISP Sandbox settings there are "Sandbox Options">>>> for Emailer and Triggers.>>>>>> These are buggy in 6.0a so keep them checked on that>>> version. They should be fixed in the CICADA (6.1.x build)>>> but, I have yet to test the fix thoroughly.>>>>In this post Mr. Brooke seems to feel the bug may not yet be fixed>>even in the new version, thus I hesitate to trust triggers given the>>fact that timed event actions are mission critical for us.>>>>On 1/3/09, christophe.billiottet@webdna.us>> wrote:>>> A way to do that would be to add a "timestamp" to a small "witness>>> database" with only one record, any time the main database or the file>>> is updated (you must add a small [Replace] command to update the last>>> value). Then you can compare the last counter value with the last one>>> you had and send the response to your users. A WebDNA trigger should>>> be fine.>>>>>> You could also flag the event with just a "1" in your witness>>> database, then reset it to "0" each time you send the notification to>>> your users.>>>>>> You can also use the [FileInfo] and [ModTime] but it will not work>>> with the WebDNA database, since it is not written to disk. I guess>>> this would also be slower.>>>>>> There are many ways to do this.>>>>>> chris>>>>>>>>>>>>>>> On Jan 3, 2009, at 2:51, Jason Adams wrote:>>>>>>> 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/>>>>>>>>> --------------------------------------------------------->>>> 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>>--------------------------------------------------------->>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/>> --> Terry Wilson | terry@terryfic.com | http://terryfic.com> http://WhosComing.com - a simplified, affordable online reservation system> http://TightJacket.com -- stylish protection for your laptop> --------------------------------------------------------------------------> Attitude is the only difference between ordeal and adventure.> ---------------------------------------------------------> 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
Associated Messages, from the most recent to the oldest:
I read more about triggers, they are tcp calls rather than internalcalls, the software sends each request to dns which resolves thedomain then redirects the request back to the server. I agree thattimed precision is not possible via such a system.I read the description for the shell tag, there are no examples on theshell tag page at http://docs.webdna.us (only a long list of files)but if it works for changing ownership and permission that's one issueresolved.On 1/4/09, Terry Wilson wrote:> Have you tried triggers? I have a web app that relies on triggers to> send emails out for a number of sites, and have never had any> problems. It is a Linux server. Just because a few people have> problems doesn't men you will too. It's easy enough to try it out in> your configuration. You will always hear about problems, but the ones> of us who use them routinely with success probably don't report that.>> Terry>>>Hi Chris,>>>>I do not mean to offend but I find no reports of "trigger bugs fixed">>in the mail list archive. Instead I see several reports of failed>>triggers over a long time, including this post made just days ago:>>>>>> WebDNA Version 6>>>> In the ISP Sandbox settings there are "Sandbox Options">>>> for Emailer and triggers.>>>>>> These are buggy in 6.0a so keep them checked on that>>> version. They should be fixed in the CICADA (6.1.x build)>>> but, I have yet to test the fix thoroughly.>>>>In this post Mr. Brooke seems to feel the bug may not yet be fixed>>even in the new version, thus I hesitate to trust triggers given the>>fact that timed event actions are mission critical for us.>>>>On 1/3/09, christophe.billiottet@webdna.us>> wrote:>>> A way to do that would be to add a "timestamp" to a small "witness>>> database" with only one record, any time the main database or the file>>> is updated (you must add a small [replace] command to update the last>>> value). Then you can compare the last counter value with the last one>>> you had and send the response to your users. A WebDNA trigger should>>> be fine.>>>>>> You could also flag the event with just a "1" in your witness>>> database, then reset it to "0" each time you send the notification to>>> your users.>>>>>> You can also use the [fileinfo] and [ModTime] but it will not work>>> with the WebDNA database, since it is not written to disk. I guess>>> this would also be slower.>>>>>> There are many ways to do this.>>>>>> chris>>>>>>>>>>>>>>> On Jan 3, 2009, at 2:51, Jason Adams wrote:>>>>>>> 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/>>>>>>>>> --------------------------------------------------------->>>> 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>>--------------------------------------------------------->>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/>> --> Terry Wilson | terry@terryfic.com | http://terryfic.com> http://WhosComing.com - a simplified, affordable online reservation system> http://TightJacket.com -- stylish protection for your laptop> --------------------------------------------------------------------------> Attitude is the only difference between ordeal and adventure.> ---------------------------------------------------------> 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
"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:
TCPConnect (2002)
[format 40s]text[/format] doesn't work (1997)
Running _every_ page through WebCat ? (1997)
Trouble serving graphics on protected templates (1998)
WebCat2 beta 11 - new prefs ... (1997)
Hosts who have upgraded to v5.0? (2003)
and vs or vs not (1998)
OT: Anyone on the list from Switzerland? (2003)
[getchars] questions (1997)
WebCatalog can't find database (1997)
frames & carts (1997)
question: Eudora 3.1.1 (1997)
Cross-platform file names? (2000)
[/application] error? (1997)
Generating unique SKU from [cart] (1997)
wrong input values? (1997)
unsubscribe (2000)
[WebDNA] TCPConnect w/ user:pass (2009)
shipcost (1997)
Doctype (2004)