thanks!
On Jan 27, 12:10 pm, shabda <[EMAIL PROTECTED]> wrote:
> http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/
>
> On Jan 28, 12:39 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > I'd like to run a few background processes on my server.
>
> > They need access to the models in my app, the database, and the whole
> > django framework.
>
> > Other threads have mentioned how best to run them. Cron is the clear
> > solution.
>
> > The question I have is how best to configure them.
>
> > Loading a script in my app:
> > # python manage.py shell
>
> > >>> import myscript
>
> > Works fine.
>
> > # python myscript.py
>
> > Doesn't work well.
>
> > What is the easiest way to get the python process configured to talk
> > to django and most importantly my models?
>
> > Thanks,
> > Ivan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---