View Single Post
Old 10-28-2011, 09:57 PM   #1
awitko
Member
awitko began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Oct 2011
Device: Kindle
Embedding user name/password for crontab

I am trying to implement calibre on a linode vps server. I have gotten it to work in general for other periodicals by running a script containing something like the following.

ebook-convert /opt/calibre/resources/recipes/nytimes.recipe nytimes.mobi
calibre-smtp --attachment nytimes.mobi --relay smtp.gmail.com --port 587 --username gmailusername --password "gmailpassword" --encryption-method TLS gmailusername@gmail.com kindleusername@free.kindle.com ""
rm nytimes.mobi

Is there any way I can specify the ny times user name and password in the command line, the shell, or in the recipe. This is a headless server which will run these using crontab? And similarly for wsj and economist?

Alex
awitko is offline   Reply With Quote