12-29-2015, 11:57 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2015
Device: Kindle Paperwhite 3
|
Downloading News Subscriptions Without Calibre Running?
I like the automatic news downloading and emailing to my K3, but is there such a way / service I could run the schedule whilst Calibre is not running on my Mac?
|
12-29-2015, 06:20 PM | #2 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
No, calibre must be running in order to run calibre and do one of the things calibre does.
What you can do, is set a schedued task (linux: cron job/systemd timer, not sure what the best way is with OSX but maybe launchd? Automator?) Using the CLI backend, `ebook-convert` can take the name of a "News Source.recipe" as input. `calibredb add` can add the resulting ebook to your library, and `calibre-smtp` can be used to send files via an email relay. Last edited by eschwartz; 12-29-2015 at 06:23 PM. |
12-30-2015, 05:53 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2015
Device: Kindle Paperwhite 3
|
Ok thanks, I have a linux webserver running Centos, I guess I could try installing on that. Will I be able to set up without a desktop / completely via CLI?
|
12-30-2015, 10:33 AM | #4 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Easy. Just see the download_linux page, with a one-liner to install the latest version of calibre.
And the CLI tools run headlessly as of calibre v2.x. Good choice running on a server laptops have the small downside of not always being turned on. It should be as simple as: Code:
#!/bin/bash ebook-convert "$1.recipe" /tmp/news.mobi calibre-smtp -s "Daily news job for $1" -a /tmp/news.recipe -r smtp.gmail.com --port 587 -u "me@gmail.com" -p "mypassword" rm /tmp/news.mobi You *could* do the same on your Macbook, but if you have a dedicated server why not use it -- plus the CLI tools are a PITA on OSX because the path is deep in the application bundle. |
12-31-2015, 07:05 PM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Dec 2015
Device: Kindle Paperwhite 3
|
Great, thanks for the tips & info!
|
Tags |
news |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transferring news subs to new PC | jmml122 | Calibre | 2 | 11-18-2013 11:30 PM |
Downloading News to Kindle with Calibre | Cervine | Devices | 5 | 04-30-2011 08:29 AM |
Calibre is hanging while downloading the news | Flint | Recipes | 0 | 03-29-2011 08:14 AM |
Calibre not downloading scheduled news | rb9999 | Calibre | 15 | 02-23-2011 04:20 PM |
Frequent News Download when calibre is not running | Moik | Calibre | 4 | 10-14-2010 12:16 PM |