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

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 06-19-2018, 12:59 PM   #1
jardenman26
Junior Member
jardenman26 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2018
Device: jardenman26
Auto Retry if Scheduled download fail!!!

Hello all,

I have a weekly download of The Economist scheduled in Calibre for Windows (currently v 3.19). For some reason, the scheduled download always fails. When I manually click "Download now" after the initial failure, it works just fine. I have been manually working around this for over a year, but am keen to re-automate the process as I often just forget to do the manual retry.

Also, I have found that if I open Calibre and manually initiate a download for the Economist, it fails. If I try a second time straight after, it works.

Is there some way to force a retry if the first download fails? Alternatively, is there some way to schedule two downloads on the same day, but just at different times? Other suggestions appreciated.

Thanks.
jardenman26 is offline   Reply With Quote
Old 06-19-2018, 01:11 PM   #2
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: 33,402
Karma: 10205094
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Figure out why it is failing the first time and fix that? Most likely some antivirus/firewall interfering with the initial connection.
kovidgoyal is offline   Reply With Quote
Old 06-21-2018, 05:28 AM   #3
bobbysteel
Big Poppa
bobbysteel began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Jul 2010
Device: Nook
you can do this if you use the command line tools. write a script to automate it.

Code:
ebook-convert "The Economist.recipe" "output_filename.mobi" --output-profile=kindle_oasis
where profile should be your device.
bobbysteel is offline   Reply With Quote
Old 06-21-2018, 05:28 AM   #4
bobbysteel
Big Poppa
bobbysteel began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Jul 2010
Device: Nook
in Linux then you can have that line, then
Code:
if [ $? -ne 0 ]; then
that line again
bobbysteel 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
Auto Retry if Scheduled download fails stevesout Calibre 1 03-14-2018 11:26 PM
Can recipes be set to automatically retry if they fail on 1st attempt? BobbyVan Recipes 1 03-16-2012 10:48 AM
Guardian scheduled download failing nickd Recipes 2 04-10-2011 04:35 AM
scheduled download of periodicals naskoboy Library Management 1 03-01-2011 05:40 PM
calibre auto fetch non-scheduled job & puts out error msg shinew Calibre 2 02-23-2009 10:27 PM


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


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