Re: Waitfor file
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30572
interpreted = N
texte = Turns out that webcatalog pauses at that point in the page until a waitforfile is complete.ie[waitforfile][/waitforfile]something1[waitforfile][/waitforfile]something2[waitforfile][/waitforfile]something3assuming a 5 minute timeout on a file that will never exist will take 15minutes to execute. I've now spawned the whole thing.The reason I'm doing what I'm doing it there are 30 applescripts, and usingtriggers, i'd have to have 30 separate little files getting hit to executeeach applescript independently.When I'm done, I'll post what I've made, It's a Mac based (I'll leave it asan exercise to the reader to convert to PC/linux...) config/schedulingsystem to run the Analog Log Stats program on a multi-homed server. Brian B. Burton BOFH - Department of Redundancy Department--------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.com ================================= time is precious. waste it wisely =================================> I had assumed that the rest does not execute, but now that you ask> explicitly like that> I realize I don't know...> (kind of a useless post huh?)> Maybe you can make some kind of test to find out - like with using> [ELAPSEDTIME] (put> one at the top and one at the bottom and see if the difference reflects the> [waitforfile])>> -John>> Brian B. Burton wrote:>>> > [WaitForFile file=nada_amigo.txt&timeout=60][/WaitForFile]>> >>> > where you know that nada_amigo.txt will never appear. Set timeout to the>> > delay you need>>>> Ok, here's today's exciting question, does Webcatalog continue to process>> the rest of the page while waiting for a file (In effect, causing the>> waitforfile to become a spawned command), or does it stop at that line and>> stop the rest of the page for at each occurrence.>>>> The reason I ask Is I have several applescripts I want to put on one page,>> and I want to have them execute 5 minutes after each other. (call it a poor>> man's cron if you will. But I can't use the triggers.db for this>> application.>>>> Thanks!>>>> Brian B. Burton-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
with address <^A>.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
Turns out that webcatalog pauses at that point in the page until a waitforfile is complete.ie[waitforfile][/waitforfile]something1[waitforfile][/waitforfile]something2[waitforfile][/waitforfile]something3assuming a 5 minute timeout on a file that will never exist will take 15minutes to execute. I've now spawned the whole thing.The reason I'm doing what I'm doing it there are 30 applescripts, and usingtriggers, i'd have to have 30 separate little files getting hit to executeeach applescript independently.When I'm done, I'll post what I've made, It's a Mac based (I'll leave it asan exercise to the reader to convert to PC/linux...) config/schedulingsystem to run the Analog Log Stats program on a multi-homed server. Brian B. Burton BOFH - Department of Redundancy Department--------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.com ================================= time is precious. waste it wisely =================================> I had assumed that the rest does not execute, but now that you ask> explicitly like that> I realize I don't know...> (kind of a useless post huh?)> Maybe you can make some kind of test to find out - like with using> [elapsedtime] (put> one at the top and one at the bottom and see if the difference reflects the> [waitforfile])>> -John>> Brian B. Burton wrote:>>> > [WaitForFile file=nada_amigo.txt&timeout=60][/WaitForFile]>> >>> > where you know that nada_amigo.txt will never appear. Set timeout to the>> > delay you need>>>> Ok, here's today's exciting question, does Webcatalog continue to process>> the rest of the page while waiting for a file (In effect, causing the>> waitforfile to become a spawned command), or does it stop at that line and>> stop the rest of the page for at each occurrence.>>>> The reason I ask Is I have several applescripts I want to put on one page,>> and I want to have them execute 5 minutes after each other. (call it a poor>> man's cron if you will. But I can't use the triggers.db for this>> application.>>>> Thanks!>>>> Brian B. Burton-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list with address <^A>.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Brian B. Burton
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:
Saving [referrer] for later use (1997)
Display [price] in banner ad (1998)
WC Database Format (1997)
I've been framed by webcatalog! Does anyone know the way out? (2000)
XMLNodes Error (2007)
randomness (1997)
WebMerchant Config problems (2000)
Search/sort in URL Was: GuestBook example (1997)
Triggers under MacOSx (2003)
referrer and no caches (1997)
stumped [OT] (2001)
Re:Emailer and encryption (1997)
More Applescript (1997)
SMTP Mail Server (2003)
Javascript/WebCatalog form population (2001)
[WebDNA] Needing Open Source Support (2012)
Authorize.net setup (2002)
Authentication on NT server (2000)
[showif] or-ing (1999)
problems with 2 tags (1997)