Re: would this be a good use of [spawn]?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40630
interpreted = N
texte = Actually after I wrote that email I decided to add sending of an email to myself.I am thinking that without the [spawn] I can also do a mv folder once the 'stuff' is completed to then delete the folder.I recall lots of folks trying to come up with all kinds of ways to wait until some process has completed prior to moving or deleting a file, I think this will do the trick for me.Thanks for the reply.DaleOn Fri, 14 Jun 2002 13:21:26 John Peacock wrote: > dale wrote: > >So I wonder, the folder right now is about 20 meg in size > >and will soon > >(I hope) grow much larger. When I run stuff from the command > >line > >(stuffit for linux) it takes about 20 seconds to compress > >the entire > >folder. As I am calling this from a trigger, I wonder if it > >makes sense > >to use [spawn] for the stuffing for performace reasons. > > Does the trigger have something else to do after the stuff > has completed? I wouldn't worry about using [spawn] since > the trigger has nothing better to do than wait for the stuff > to complete. In fact, I would have a check later on the > page that the stuff completed properly and e-mail myself if > it didn't, so you cannot use [spawn] in that instance. > > John > ------------------------------------------------------------- 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:

    
  1. Re: would this be a good use of [spawn]? (dale 2002)
  2. Re: would this be a good use of [spawn]? (John Peacock 2002)
  3. would this be a good use of [spawn]? (dale 2002)
Actually after I wrote that email I decided to add sending of an email to myself.I am thinking that without the [spawn] I can also do a mv folder once the 'stuff' is completed to then delete the folder.I recall lots of folks trying to come up with all kinds of ways to wait until some process has completed prior to moving or deleting a file, I think this will do the trick for me.Thanks for the reply.DaleOn Fri, 14 Jun 2002 13:21:26 John Peacock wrote: > dale wrote: > >So I wonder, the folder right now is about 20 meg in size > >and will soon > >(I hope) grow much larger. When I run stuff from the command > >line > >(stuffit for linux) it takes about 20 seconds to compress > >the entire > >folder. As I am calling this from a trigger, I wonder if it > >makes sense > >to use [spawn] for the stuffing for performace reasons. > > Does the trigger have something else to do after the stuff > has completed? I wouldn't worry about using [spawn] since > the trigger has nothing better to do than wait for the stuff > to complete. In fact, I would have a check later on the > page that the stuff completed properly and e-mail myself if > it didn't, so you cannot use [spawn] in that instance. > > John > ------------------------------------------------------------- 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/ dale

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] HTTP post help (2012) Access file on a remote server (2003) WebDNA Windows 5.0 sendmail bug (2003) WebCatalog 3.0.8 is on FTP... (2000) [WebDNA] MVC for WebDNA (2015) still having shipCost.db Problem (1997) Using Cookie for client specific info? (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WebCat (or other) Indexing (1999) [WebDNA] .debug file (2009) WebCat b15 Mac plug-in (1997) Trouble with formula.db (1997) Problems with [Applescript] (1997) Time for a hard questions. (1997) Platform Switch (1997) (no subject) (1997) FW: Shipping calculations (1997) PIXO support (1997) How To question on setting up downloads (1997) Shop from PDF (2004)