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-2008, 09:10 PM   #1
Deputy-Dawg
Groupie
Deputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-books
 
Deputy-Dawg's Avatar
 
Posts: 155
Karma: 799
Join Date: Dec 2007
Device: sony prs505
calibre & cron problem

I am trying to set up cron to gather several feeds on a scheduled basis. The following command generates the feeds file for the Associated Press and stores the file as "associated press.lrf" in a folder called 'newspapers' on the desktop.

Code:
feeds2lrf  --output='desktop/newspapers/associated press.lrf' 'Associated Press'
When executed from the terminal on my MacBook Air it does exactly that. However when executed from within cron it does everything through the rationalizing of the fonts but does not save the file and there is no error message. It simply ceases after the rationalization of the fonts.

What have I missed?
Deputy-Dawg is offline   Reply With Quote
Old 06-19-2008, 03:50 AM   #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: 26,359
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to supply an absolute path to --output
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 06-19-2008, 06:37 PM   #3
Deputy-Dawg
Groupie
Deputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-books
 
Deputy-Dawg's Avatar
 
Posts: 155
Karma: 799
Join Date: Dec 2007
Device: sony prs505
Kovid
I must be extremely dense today! But:

From the terminal the command:

Code:
feeds2lrf --output=test.lrf 'Associated Press'
Writes the file "test.lrf" to the directory: Macintosh HD/User/Me

And the command"

Code:
feeds2lrf --output=Desktop/newspapers/test.lrf 'Associated Press'
writes the file to folder "newspapers" on the desktop

On the other hand from crontab the command:

Code:
feeds2lrf --output=test.lrf 'Associated Press'
writes the file "test.lrf" to the root of "Macintosh HD"

and the command:

Code:
feeds2lrf --output='Macintosh HD'/Users/Me/Desktop/newspapers/test.lrf 'Associated Press'
writes nothing at all and the command:

Code:
feeds2lrf --output='Macintosh HD':Users:Me:Desktop:newspapers:test.lrf 'Associated Press'
writes a file "Macintosh HD/Users/Me/Desktop/newspapers/test.lrf"

To the root of "Macintosh HD"

(note that the slashes are part of the file name and are not path delimiters.)

Now I know I must have done something incredibly stupid, but I am lost.
Deputy-Dawg is offline   Reply With Quote
Old 06-19-2008, 06:58 PM   #4
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: 26,359
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use --output="/Users/Me/output.lrf"
kovidgoyal is offline   Reply With Quote
Old 06-19-2008, 10:56 PM   #5
Deputy-Dawg
Groupie
Deputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-booksDeputy-Dawg has learned how to read e-books
 
Deputy-Dawg's Avatar
 
Posts: 155
Karma: 799
Join Date: Dec 2007
Device: sony prs505
Darn, that should have been obvious. You said absolute, not fully delimited. In any event it works like a champ now.

Thanks.
Deputy-Dawg 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
Stanza & Calibre & IPAD thomasmorus Calibre 1 07-02-2010 01:44 PM
PRS Fonts, PDF gray && Calibre Hranostak Sony Reader 5 11-24-2008 12:50 PM
PRS Fonts, PDF gray && Calibre Hranostak Sony Reader 1 11-22-2008 03:50 PM
problem using convertlit & Calibre Gravitas Sony Reader 5 09-25-2008 05:43 AM
(Problem Resolved) AARGGGGHHHHH!!! Sony #&%@&^#(*%!*#& CS DrMoze Sony Reader 11 09-06-2007 12:17 PM


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


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