related
ps aux | grep cron shows it running, but this does not work
03 15 * * * /bin/echo "foobar" >> /home/user/wanker
so cron isn't running the jobs, it is running though
Nearly there :-)
On Sep 1, 2:38 pm, vanderkerkoff <tonm...@gmail.com> wrote:
> Hi Reinout
>
> No traceback from the cron job, I've tried piping it out to a file,
> but that's not giving me anything.
>
> I think the problem lies somewhere in the fact that we're somehow
> using the dist-packages folder as opposed to the site-packages folder.
>
> God knows how or why we are using it though.
>
> Thanks for trying
>
> I can import fact from within a python shell by the way, so the
> fact.pth is working from a shell
>
> >>> from fact.aggy.models import Feed, FeedItem
>
> File "<stdin>", line 1, in <module>
> File "/var/www/django/django_projects/fact/aggy/models.py", line 1,
> in <module>
> from django.db import models
> File "/usr/local/lib/python2.6/dist-packages/django/db/__init__.py",
> line 10, in <module>
> if not settings.DATABASE_ENGINE:
> File "/usr/local/lib/python2.6/dist-packages/django/utils/
> functional.py", line 272, in __getattr__
> self._setup()
> File "/usr/local/lib/python2.6/dist-packages/django/conf/
> __init__.py", line 38, in _setup
> raise ImportError("Settings cannot be imported, because
> environment variable %s is undefined." % ENVIRONMENT_VARIABLE)
> ImportError: Settings cannot be imported, because environment variable
> DJANGO_SETTINGS_MODULE is undefined.
>
> On a working machine that uses site-packages and exactly the same
> fact.pth file, I don't get that error
>
> On Sep 1, 2:22 pm, Reinout van Rees <rein...@vanrees.org> wrote:
>
>
>
>
>
>
>
> > On 01-09-11 15:11, vanderkerkoff wrote:
>
> > > Thanks for trying though, I will find the problem, eventually:-)
>
> > Can you specify "it stopped working" a bit, btw? Do you get a traceback,
> > for instance?
>
> > Reinout
>
> > --
> > Reinout van Rees http://reinout.vanrees.org/
> > rein...@vanrees.org http://www.nelen-schuurmans.nl/
> > "If you're not sure what to do, make something. -- Paul Graham"
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment