Subj : Re: JSON database
To   : echicken
From : Kirkman
Date : Mon Sep 29 2014 12:02 pm

> I believe that the JSON service only reads from that file when loading a DB
> module (which happens when the service is started/restarted, possibly when
> a given module is reloaded via json-svc-ctrl.js.)

I played around with json-svc-ctrl.js, and using it to reload my sportsstats
module does indeed cause the latest info to display in the door.

I'd like to do this reloading on demand (I only scrape new data once or twice
an hour), rather than have a script constantly running. So tonight I'm going
to see if I can pull some of the bits from json-svc-ctrl.js into a new script
that I could call from the command line to reload sportsstats json data.

--Josh

////--------------------------------------------------
BiC -=- http://breakintochat.com -=- bbs wiki and blog

---
� Synchronet