Re: [WebDNA] To Flush, to commit or to...?

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111755
interpreted = N
texte = You may need a WebDNA template that performs these steps in order: [closedatabase db=file.db] [movefile from=file.hdr&to=NewHeaderFile] [movefile from=file.db&to=OldDataFile] [shell] run your PERL script and make it write to NewDataFile [/shell] [waitforfile NewDataFile] [movefile from=NewHeaderFile&to=file.hdr] [movefile from=NewDataFile&to=file.db] [/waitforfile] Naturally you should also add some code that checks to be sure NewDataFile was successfully written, and if this check fails WebDNA should send you an error email so you know something went wrong, then revert back to the original files so your site can still work properly until everything is tried again next hour. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Management Associated Messages, from the most recent to the oldest:

    
  1. [SOLVED] Re: [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
  2. Re: [WebDNA] To Flush, to commit or to...? (Christer Olsson 2014)
  3. Re: [WebDNA] To Flush, to commit or to...? (Kenneth Grome 2014)
  4. Re: [WebDNA] To Flush, to commit or to...? (Dan Strong 2014)
  5. Re: [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
  6. Re: [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
  7. Re: [WebDNA] To Flush, to commit or to...? (Christer Olsson 2014)
  8. Re: [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
  9. Re: [WebDNA] To Flush, to commit or to...? (Christer Olsson 2014)
  10. [WebDNA] To Flush, to commit or to...? (Palle Bo Nielsen 2014)
You may need a WebDNA template that performs these steps in order: [closedatabase db=file.db] [movefile from=file.hdr&to=NewHeaderFile] [movefile from=file.db&to=OldDataFile] [shell] run your PERL script and make it write to NewDataFile [/shell] [waitforfile NewDataFile] [movefile from=NewHeaderFile&to=file.hdr] [movefile from=NewDataFile&to=file.db] [/waitforfile] Naturally you should also add some code that checks to be sure NewDataFile was successfully written, and if this check fails WebDNA should send you an error email so you know something went wrong, then revert back to the original files so your site can still work properly until everything is tried again next hour. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Management Kenneth Grome

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] Fails to recognize comma-separated db (2010) Parameter Passing Value (2002) Which [index]? (1997) Extended [ConvertChars] (1997) Error Msg (1998) W* 3.x & WebCat + WebMerchant (1998) greater than or equal to (1997) [WebDNA] [OT] Best Mail Server (2010) Spawning Holdup? (2000) Emailer help....! (1997) [purgeDatabase], [replaceChars] and others ... (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) how do ye do this?????? (2001) Simple way to create unique SKU (1997) RequiredFields template (1997) [WebDNA] hours apart from two dates and times (2008) WebCatalog dying in NT (1998) WebCat2 several catalogs? (1997) Locked files not [REPLACE APPEND=T]ed (2000) Two stores, one server (1998)