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:

Nested vs conditional (1997) Substitutes for [text]? (2000) OT: Weird table rendering w/ WebCat in Explorer (2005) all records returned. (1997) License for Sale? (2003) [WebDNA] I'm stuck... :-( (2009) Altivec (Velocity engine) (2000) macosx 1 process, linux N processes, macosx chokes under load (2001) [OT] Robust order processing (2003) WebCatb15 Mac CGI -- [purchase] (1997) Webcatalog quitting (1997) Logging purchases (1997) Help with database strategy (1998) [OT] See Flash? (2003) typhoon... (1997) Line Feed problems ... (2002) WebCat2 beta 11 - new prefs ... (1997) Multiple Newcarts (1996) WebCat2 - Getting to the browser's username/password data (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996)