If you are on a *NIX platform (linux, freebsd, os x etc) the easiest way to
schedule a task is using cron, and writing a python script that can be run
from cron is trivial, even if you need to use django in this script.
Just put the script in your project root, and follow these instructions:
I'm not sure about admin integration but there are two apps out there
that handle task scheduling.
http://code.google.com/p/django-cron/
http://code.google.com/p/django-jits/
On Sat, Jul 12, 2008 at 9:53 AM, Chris <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm a newbie to Django, and I'm trying to
> I can do
> this "outside" Django with Cron and a script that uses the standalone
> ORM, but is there any way to incorporate this into admin so I can see
> what tasks are run and when?
Well, you are probably still going to have cron (or equivalent) in
there somewhere because you need something
I've seen previous posts which tell you to setup the CRON job with the
correct settings, so you can just call django from the CRON job, since
django is just python, as long as it finds the settings file you
should be ok.
J
On Jul 12, 7:53 am, Chris <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm a
4 matches
Mail list logo