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

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111751
interpreted = N
texte = --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the trick. Best, Christer ************************************************************* 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:31 skrev Palle Bo Nielsen : > 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 >=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 --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Ah. = Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the = trick.

Best,
Christer

 ************************************************= *************
 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:31 skrev Palle Bo Nielsen <powerpalle@powerpalle.dk>:=

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/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D-- 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=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Ah. Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the trick. Best, Christer ************************************************************* 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:31 skrev Palle Bo Nielsen : > 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 >=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 --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Ah. = Missed that part. [closedatabase db=3Dyourdatabase.db&commit=3DF] = should do the = trick.

Best,
Christer

 ************************************************= *************
 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:31 skrev Palle Bo Nielsen <powerpalle@powerpalle.dk>:=

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/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_A9F27EEF-5A74-40E7-A72A-3ED5BBAB669D-- Christer Olsson

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:

spawn (1998) problems with 2 tags shakur (1997) WebSite and *NO* Authentication Dialog Box!!? (1998) WebCat2b12 - nesting [tags] (1997) ShowIf helper? (1998) Setting a text Var inside an orderfile (2002) Title not showing up in ViewOrder template (1998) Odd [math] behaviour (2003) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) [searchString] (1997) External Images (1998) bug in [SendMail] (1997) multiGroupChecker code redundant? (2000) Browser Problem?!? NN 4.0+ and Browser Info.txt? (1997) Shipcost formula (2004) Associative lookup style? + bit more (1997) (2004) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) A dynamic database. (1997) [WebDNA] Abandoned Carts (2009)