On 15/03/07, skink <[EMAIL PROTECTED]> wrote: > > Hi, > > I'd like to start one thread in order to do some periodic actions. > > It should be started automatically, not within some view code. > > Where is the best place to start such thread? > > regards, > skink >
What kind of actions are you talking about? If you're trying to run some priodic maintenance, you should consider writing a proper external (as in - not in your web service code) script and schedule it to run with cron, for example. You'd still include and use the django code/models of course. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---