Unfortunately, I get the same traceback: Traceback (most recent call last): File "update_feeds.py", line 10, in ? import feedparser ImportError: No module named feedparser
Any idea how to import the module within the cron? On Mar 4, 9:07 am, Jonas Christian <[EMAIL PROTECTED]> wrote: > I ran into problems like that using cron and instead of trying to > locate the real error in the paths (we were about to go live ...), I > simple changed the cron line to read: > > 1 * * * * cd /path/to/script; /usr/bin/python update_feeds.py > > Why don't you try that and see if it helps... > > Jonas > > On 4 Mrz., 14:02, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > Well part of the problem is that the script itself works fine. I can > > run from the command line without a hitch. But when I try to run it > > via the cron, I get the traceback about the feedparser module. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---