> 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 that is clock-driven, as
opposed to client-request-driven.

If you want to do everything inside of Django, you could create a url/
view like '/myadmin/do/jobs/' and then have cron periodically trigger
a wget on that url. Note: if you are doing some sort of big, honking,
run-for-a-long-time job, doing so inside the context of a web server
may not be the best choice.

Another alternative is to do most of your work in standalone scripts,
but have a periodic cron job trigger a wget which causes Django to
rewrite a cron file of scheduled jobs.


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