On Tue, Mar 4, 2008 at 4:55 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>  I'm trying to use a cron job to run a python script that updates feeds
>  on an aggregator site I'm building. But I'm getting trackback errors
>  telling me it can't import the module feedparser. Here's the error:
>
>  Traceback (most recent call last):
>   File "/path/to/script/update_feeds.py", line 10, in ?
>    import feedparser
>  ImportError: No module named feedparser


You can try using django-cron, which is a django app that can run
tasks on a specified schedule and since it runs from within the django
web framework it does not have the environment and path issues that
setting up an actual cron job does

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to