Wow. I will try, and if it works as you say, its wonderful! :)

On Sep 20, 12:26 pm, Thorsten Sanders <thorsten.sand...@gmx.net>
wrote:
> import sys,os
>
> sys.path.append('/path/to/your/django_project')
> os.environ['DJANGO_SETTINGS_MODULE'] = 'your_settings_file'
>
> This works fine for a cronjob I created
>
> On 20.09.2011 10:48, Thomas Orozco wrote:
>
>
>
>
>
>
>
>
>
> > You just have to run your server as a daemon and use Django's
> > setup_environment so you can use the ORM to interact with your Django DB.
>
> > I can try and find the lines you need to do that if you can't find them.
>
> > Le 20 sept. 2011 09:08, "Micke" <mikael.gron...@gmail.com
> > <mailto:mikael.gron...@gmail.com>> a �crit :
> > --
> > 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+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to