Thread: web2lrf
View Single Post
Old 03-22-2008, 01:08 AM   #243
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: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Deputy-Dawg View Post
Kovid,
Thanks for the fixed recipe for USAToday. Looks much better to these tired eyes. Also thanks for the tip about cron. I did not realize such a utility was available on the Mac. Maybe its time to take a look under the hood.

Searching the web I found a GUI for cron called croniX_3.0.2. When you run it gives the ability to create a custom crontab file.

When I run the following command from the bash terminal:

feeds2lrf --output=/users/billc/desktop/news.lrf desktop/books/nwa2.py

I produce an output file called news.lrf on my desktop. I then deleted the file and put the same command into cronniX and used the 'Run Now' commmand (under the 'Task' drop down menu) all I got was:

Running command
feeds2lrf --output=/users/billc/desktop/news.lrf desktop/books/nwa2.py
The output will appear below when the command has finished executing
Fetching feeds...

then the program goes off into lala land and produces no output. Clearly there is something wrong! Is there one of those cryptic commands like sh that should precede the main command? Or What?
Use an absolute path to nwa2.py
kovidgoyal is offline   Reply With Quote