View Single Post
Old 06-22-2018, 07:02 AM   #6
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
It could be a fun little project to automate this.

On the workstation:

Add some commands to the script that start calibre to also update a copy of the library on the server, when you exit calibre. Could use a sync app over the network.

On the server:

Run a script every 10 minutes or so. Check if a new update has arrived. If so, turn off the calibre server and update the library being served. Start the calibre server again.

You may need some semaphore files, some atomic renames and perhaps some extra copies of the library to make sure it is clean and safe.
Adoby is offline   Reply With Quote