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

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111752
interpreted = N
texte = --Apple-Mail=_78FDC03C-55EE-444B-B8E0-9C0CEDC4EFD1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 =85 supplement. And I am not able to tell WebDNA to [closedatabase] immediately before = Perl is writing a new file.db file. Take it as Perl is delivering a new = file.db when Perl want to and WebDNA should be able to accept that the = content of a file named named =93file.db=94 can change at any time = without notice. /Palle > On 10/12/2014, at 20.31, Palle Bo Nielsen = wrote: >=20 > Hi Christer >=20 > Thanks, I will try this, but=85 >=20 > It was my opinion that [closedatabase] committed the memory to file. I = need for WebDNA to discard or whatever what is in memory and then only = adapt to whats inside the physical file.db. >=20 > /Palle=20 >=20 >=20 >> On 10/12/2014, at 20.22, Christer Olsson > wrote: >>=20 >> [closedatabase db=3Dyourdatabase.db] >>=20 >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >>=20 >> 10 dec 2014 kl. 20:11 skrev Palle Bo Nielsen = >: >>=20 >>> Hi all, >>>=20 >>> I have made a Perl script which collects some external data and then = parses it into a file.db. >>>=20 >>> A file.hdr already exists and the WebDNA website which needs this = data works fine with that. That means WebDNA ia taking the file.db data = into memory and uses it to populate certain webpage. But, then=85 >>>=20 >>> But then my Perl script whacks the external data once again (does it = every hour) and parses the data into the file.db (exchanges the exiting = data). But the WebDBA memory does not adopt the new data unless I make a = Flushdatabases command, which I would like to avoid. WebDNA does = acknowledge using Fileinfo that the file has been updated but the new = data is to populated into the webpage. >>>=20 >>> So the question. >>>=20 >>> What can I do in stead of using Flushdatabases? I need WebDNA to = adopt/read the new data from the file=85 >>>=20 >>> /Palle--------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list >. >>> To unsubscribe, E-mail to: > >>> archives: http://mail.webdna.us/list/talk@webdna.us = >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_78FDC03C-55EE-444B-B8E0-9C0CEDC4EFD1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
=85 supplement.

And I am not able to tell WebDNA to = [closedatabase] immediately before Perl is writing a new file.db file. = Take it as Perl is delivering a new file.db when Perl want to and WebDNA = should be able to accept that the content of a file named named = =93file.db=94 can change at any time without notice.

/Palle



On = 10/12/2014, at 20.31, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:

Hi Christer

Thanks, I will try this, but=85

It was my opinion that [closedatabase] = committed the memory to file. I need for WebDNA to discard or whatever = what is in memory and then only adapt to whats inside the physical = file.db.

/Palle 


On 10/12/2014, at 20.22, Christer Olsson <christer@ljusaideer.se> wrote:

[closedatabase = db=3Dyourdatabase.db]

 *********************************************************= ****
 Christer Olsson   PO Box 9160    =     Phone +46 40 25 85 85
 Ljusa Id=E9er= AB    SE-200 39 Malmo    Fax +46 40 25 85 = 89

10 dec 2014 = kl. 20:11 skrev Palle Bo Nielsen <powerpalle@powerpalle.dk>:

Hi all,

I have made a Perl = script which collects some external data and then parses it into a = file.db.

A file.hdr already exists and the = WebDNA website which needs this data works fine with that. That means = WebDNA ia taking the file.db data into memory and uses it to populate = certain webpage. But, then=85

But then my = Perl script whacks the external data once again (does it every hour) and = parses the data into the file.db (exchanges the exiting data). But the = WebDBA memory does not adopt the new data unless I make a Flushdatabases = command, which I would like to avoid. WebDNA does acknowledge using = Fileinfo that the file has been updated but the new data is to populated = into the webpage.

So the question.

What can I do in stead of using = Flushdatabases? I need WebDNA to adopt/read the new data from the = file=85

/Palle---------------------------------------------------------=
This message is sent to you because you are subscribed = to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail = to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug= Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_78FDC03C-55EE-444B-B8E0-9C0CEDC4EFD1-- 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)
--Apple-Mail=_78FDC03C-55EE-444B-B8E0-9C0CEDC4EFD1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 =85 supplement. And I am not able to tell WebDNA to [closedatabase] immediately before = Perl is writing a new file.db file. Take it as Perl is delivering a new = file.db when Perl want to and WebDNA should be able to accept that the = content of a file named named =93file.db=94 can change at any time = without notice. /Palle > On 10/12/2014, at 20.31, Palle Bo Nielsen = wrote: >=20 > Hi Christer >=20 > Thanks, I will try this, but=85 >=20 > It was my opinion that [closedatabase] committed the memory to file. I = need for WebDNA to discard or whatever what is in memory and then only = adapt to whats inside the physical file.db. >=20 > /Palle=20 >=20 >=20 >> On 10/12/2014, at 20.22, Christer Olsson > wrote: >>=20 >> [closedatabase db=3Dyourdatabase.db] >>=20 >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >>=20 >> 10 dec 2014 kl. 20:11 skrev Palle Bo Nielsen = >: >>=20 >>> Hi all, >>>=20 >>> I have made a Perl script which collects some external data and then = parses it into a file.db. >>>=20 >>> A file.hdr already exists and the WebDNA website which needs this = data works fine with that. That means WebDNA ia taking the file.db data = into memory and uses it to populate certain webpage. But, then=85 >>>=20 >>> But then my Perl script whacks the external data once again (does it = every hour) and parses the data into the file.db (exchanges the exiting = data). But the WebDBA memory does not adopt the new data unless I make a = Flushdatabases command, which I would like to avoid. WebDNA does = acknowledge using Fileinfo that the file has been updated but the new = data is to populated into the webpage. >>>=20 >>> So the question. >>>=20 >>> What can I do in stead of using Flushdatabases? I need WebDNA to = adopt/read the new data from the file=85 >>>=20 >>> /Palle--------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list >. >>> To unsubscribe, E-mail to: > >>> archives: http://mail.webdna.us/list/talk@webdna.us = >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_78FDC03C-55EE-444B-B8E0-9C0CEDC4EFD1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
=85 supplement.

And I am not able to tell WebDNA to = [closedatabase] immediately before Perl is writing a new file.db file. = Take it as Perl is delivering a new file.db when Perl want to and WebDNA = should be able to accept that the content of a file named named = =93file.db=94 can change at any time without notice.

/Palle



On = 10/12/2014, at 20.31, Palle Bo Nielsen <powerpalle@powerpalle.dk> wrote:

Hi Christer

Thanks, I will try this, but=85

It was my opinion that [closedatabase] = committed the memory to file. I need for WebDNA to discard or whatever = what is in memory and then only adapt to whats inside the physical = file.db.

/Palle 


On 10/12/2014, at 20.22, Christer Olsson <christer@ljusaideer.se> wrote:

[closedatabase = db=3Dyourdatabase.db]

 *********************************************************= ****
 Christer Olsson   PO Box 9160    =     Phone +46 40 25 85 85
 Ljusa Id=E9er= AB    SE-200 39 Malmo    Fax +46 40 25 85 = 89

10 dec 2014 = kl. 20:11 skrev Palle Bo Nielsen <powerpalle@powerpalle.dk>:

Hi all,

I have made a Perl = script which collects some external data and then parses it into a = file.db.

A file.hdr already exists and the = WebDNA website which needs this data works fine with that. That means = WebDNA ia taking the file.db data into memory and uses it to populate = certain webpage. But, then=85

But then my = Perl script whacks the external data once again (does it every hour) and = parses the data into the file.db (exchanges the exiting data). But the = WebDBA memory does not adopt the new data unless I make a Flushdatabases = command, which I would like to avoid. WebDNA does acknowledge using = Fileinfo that the file has been updated but the new data is to populated = into the webpage.

So the question.

What can I do in stead of using = Flushdatabases? I need WebDNA to adopt/read the new data from the = file=85

/Palle---------------------------------------------------------=
This message is sent to you because you are subscribed = to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail = to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug= Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_78FDC03C-55EE-444B-B8E0-9C0CEDC4EFD1-- Palle Bo Nielsen

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:

autocommit problem (1998) lineitems not showing when moving to a different OS (2006) Count regular expressions in a file (2007) XML - USPS Lookups - UPS Lookups (2003) [WebDNA] Bug in [thisurlplusget] on v7 (2011) Problem with summary on date / inconsequent webcat behaviour (1998) Sendmail and textarea (1998) Showing unopened cart (1997) SiteEdit NewFile.html ? (1997) emailer (1997) Page-Execution-Timer...PHP vs WebDNA (2004) Limit picture size on upload (2005) If Empty ? (1997) hideif/showif causes error if wrapped around searches (2003) logging in a user (1999) Time/date formatting %X doesn't work ... (1997) Don't tick me off :) [elaspedtime] (1997) Help with Repost Data msg from form (1997) No luck with taxes (1997) OSX 10.2.6/iTools 7.0/WebDNA 5.0 installation (2003)