Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2015, 08:44 PM   #1
BoundforPNG
Member
BoundforPNG began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jun 2015
Device: Kindle
Scheduled news downloads in batch mode

I am running Calibre content server and want to have the news downloads happen in batch mode without having to have the UI open. Is this possible?
BoundforPNG is offline   Reply With Quote
Old 06-18-2015, 08:58 PM   #2
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 18,060
Karma: 72213217
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
In CLI mode:

ebook-convert accepts the *.recipe format and will read the name as the name of a builtin recipe. Convert the recipe to a temporary file and add it to calibre via calibredb add -- then reload calibre-server.

Last edited by eschwartz; 06-19-2015 at 11:29 AM.
eschwartz is offline   Reply With Quote
 
Advertisement
Old 06-19-2015, 01:17 AM   #3
BoundforPNG
Member
BoundforPNG began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jun 2015
Device: Kindle
Do I have to restart the calibre-server when something has been added. I have a crontab running every 10 minutes that does a calibredb add in a designated folder. Can I have the calibre-server restart on some type of trigger?
BoundforPNG is offline   Reply With Quote
Old 06-19-2015, 05:30 AM   #4
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 7,566
Karma: 1971460
Join Date: Jan 2010
Location: France
Device: Many android devices
Starting in calibre V2 the server automatically notices that the database changed and does a reload.
chaley is offline   Reply With Quote
Old 06-19-2015, 11:28 AM   #5
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 18,060
Karma: 72213217
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Cool, didn't realize that.
eschwartz is offline   Reply With Quote
Old 06-20-2015, 05:20 AM   #6
BoundforPNG
Member
BoundforPNG began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jun 2015
Device: Kindle
I have noticed that some of the news feeds seem to only get the TOC but there is no content. Is this because the recipe needs to be updated? Does anybody monitor them and revise them?
BoundforPNG is offline   Reply With Quote
Old 06-20-2015, 05:24 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 28,800
Karma: 7295999
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by BoundforPNG View Post
I have noticed that some of the news feeds seem to only get the TOC but there is no content. Is this because the recipe needs to be updated? Does anybody monitor them and revise them?
Yes and no.
kovidgoyal is offline   Reply With Quote
Old 06-23-2015, 05:32 PM   #8
BoundforPNG
Member
BoundforPNG began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jun 2015
Device: Kindle
Is there any way to get updated recipes that others have updated so I don't have to fix them myself?
BoundforPNG is offline   Reply With Quote
Old 06-23-2015, 05:45 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 28,800
Karma: 7295999
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the recipe titles, ebook-convert will automatically fetcht he latest version of the recipe.
kovidgoyal is offline   Reply With Quote
Old 06-25-2015, 06:58 PM   #10
BoundforPNG
Member
BoundforPNG began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jun 2015
Device: Kindle
What would be the syntax for getting the latest version of the recipes using ebook-convert?
BoundforPNG is offline   Reply With Quote
Old 06-25-2015, 07:26 PM   #11
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 18,060
Karma: 72213217
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Simply give ebook-convert an input file of "builtin-name.recipe" and calibre will use the builtin recipe.
One of the features of builtin recipes is that they automatically use the latest version (hosted on the calibre website).
eschwartz is offline   Reply With Quote
Old 06-25-2015, 09:58 PM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 28,800
Karma: 7295999
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
ebook-convert "The Economist.recipe" .epub
kovidgoyal is offline   Reply With Quote
Old 07-05-2015, 02:37 AM   #13
BoundforPNG
Member
BoundforPNG began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jun 2015
Device: Kindle
I have several news feeds scheduled to download thru the UI. Is there a way I can have the downloads run automatically without having to leave the UI running on linux. Also, does the scheduler know not to download a news source that is only updated monthly? If not, it there an easy way to determine when a news source is updated?
BoundforPNG is offline   Reply With Quote
Old 07-05-2015, 03:00 AM   #14
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 18,060
Karma: 72213217
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
No -- use ebook-convert with a cron job or systemd timer.
eschwartz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Start all scheduled news downloads using CLI Zillion Calibre 2 07-19-2011 11:21 AM
Synchronize Scheduled Downloads stonesown Calibre 1 08-03-2009 12:24 PM
Wish List - Scheduled Downloads girlperson1 Calibre 2 11-17-2008 09:05 PM


All times are GMT -4. The time now is 04:09 AM.


MobileRead.com is a privately owned, operated and funded community.