Hi,

I have a serious problem, here it goes.

We have a website running at drupal 6 and it's hosting at a web provider.
Then we have several touchscreens-pc with USB modem in different locations and they must display the webpage, but not by steaming it since it gives too great a dataflow(cost too much and runs too slowly).

The need is that the displays are updated 1-2 times.

My thought is to install a local server at each of the screens and that they run a copy of the page - but have no idea how to set it up so they are updated every 1-2 times per day

Are any of you who can give a good guess on how it should be set up

/Thomas

Comments

GreyMan’s picture

The touchscreens are running at Ubuntu, so maybe I can run a cron script which update the database, but then I just have to find a way to copy files that have been changed or are new.

pbarnett’s picture

You'll probably want to use rsync to update the files...

damianrobinson’s picture

Agree with pbarnet, I would suggest getting the 'master' to dump the DB & zip the filesystem, then push both onto the slave devices if security allows.

Perhaps look at using phing http://phing.info/trac/ to create a build file to do this at both master & slave end.

pbarnett’s picture

No, the whole point of using rsync is that it only updates files that have changed...

Molot’s picture

Consider master-slave db replication as well. That way, you'll only transmit the data that changed, not the whole dump.