Re: Bad spawn! Finish your work!
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40455
interpreted = N
texte = >Got a tricky [spawn] that doesn't want to finish his work... The >following code works as expected by sending an e-mail to me that >it's begun to do it's work (message to start). Then it goes through >a number of loops and the number of loops is fine. The searching and >e-mail of messages is fine. The [waitforfile...] is fine. But... I >never get the last message delivered after the [/loop]. Could the >spawn be terminating its instance before the [sendmail] context is >complete? Do I have a silly typo somewhere? Should [spawn] be sent >to its room for not finishing its vegetables?
>[WaitForFile file=noway.txt&timeout=[mydelay]]>[/loop]>>[!] message to end [/!]>[sendmail to=joedan@west21.com&from=joedan@west21.com&subject=ALL DONE!]>[/sendmail]>>[/spawn]Close your WaitForFile context i.e.,>[WaitForFile file=noway.txt&timeout=[mydelay]][/waitforfile]The syntax error is stopping the process before it gets to the last sendmail.-- Sam LewisSamLewis.comTel: 626-852-0956 Fax: 916-404-5698-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Got a tricky [spawn] that doesn't want to finish his work... The >following code works as expected by sending an e-mail to me that >it's begun to do it's work (message to start). Then it goes through >a number of loops and the number of loops is fine. The searching and >e-mail of messages is fine. The [waitforfile...] is fine. But... I >never get the last message delivered after the [/loop]. Could the >spawn be terminating its instance before the [sendmail] context is >complete? Do I have a silly typo somewhere? Should [spawn] be sent >to its room for not finishing its vegetables?>[WaitForFile file=noway.txt&timeout=[mydelay]]>[/loop]>>[!] message to end [/!]>[sendmail to=joedan@west21.com&from=joedan@west21.com&subject=ALL DONE!]>[/sendmail]>>[/spawn]Close your WaitForFile context i.e.,>[WaitForFile file=noway.txt&timeout=[mydelay]][/waitforfile]The syntax error is stopping the process before it gets to the last sendmail.-- Sam LewisSamLewis.comTel: 626-852-0956 Fax: 916-404-5698-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Sam Lewis
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:
[WebDNA] 30 Minute Cookies (2016)
Calendar using WebCatalog? (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
(2000)
[WebDNA] WebDNA and MAMP/Apache (Mac) (2018)
temporary database? an aside (2000)
OT: How to find out who owns an IP address (2001)
RAM variables (1997)
2 easy questions re: [showif] and [sendmail] (1997)
WebCatalog for Postcards ? (1997)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
WebCat chatroom (1997)
Signal Raised (1997)
Wanted: Broader string manipulation functions (1997)
cart info (1998)
Getting total number of items ordered (1997)
Ok here is a question? (1997)
Not really WebCat (1997)
Nebulous slow-down problem (2000)
[ShowCart] and GET vs. POST (1997)