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:

.eml files (2001) WebCat2b15MacPlugin - showing [math] (1997) Repeating Fields (1997) SKU lookup (1997) replace problem (1999) Please.. copies of Digest for 7/29 and 7/30? (1997) email program problem (1998) [WebDNA] Encrypted password issue (2009) Summing fields (1997) taxRate is fine but taxTotal isn't (1997) RE: Promise of future help (1998) WebDNA 5.0 Enterprise Edition (2003) Old Topic - [OT] - server speeds. (2002) [WriteFile] problems (1997) [WebDNA] lighttpd problem with returnraw http header (2018) dos performance (1998) RequiredFields template (1997) no template caching (1997) Permission denied? (2004) Grouping fields help (2004)