Re: faking a cron job

2008-09-28 Thread Julian
okay guys, you've convinced me - it'll do a cronjob! --~--~-~--~~~---~--~~ 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 gr

Re: faking a cron job

2008-09-28 Thread Jeff Anderson
Julian wrote: > hi there, > > i have written a middleware-class wich is doing what a cronjob should > do. it is doing some backup-stuff, and repeats that every 12 hours. it > is a thread and is placed in the list of middleware-classes, but not > processing any request or overwriting any typical met

Re: faking a cron job

2008-09-28 Thread Tom Badran
The obvious solution seems to be use a cron job, instead of trying to strongarm django/apache into doing something that they aren't for. There is no reason your cron job couldnt be a python script that uses django classes/your model etc. if you want. Tom On Sun, Sep 28, 2008 at 8:11 PM, Julian <

faking a cron job

2008-09-28 Thread Julian
hi there, i have written a middleware-class wich is doing what a cronjob should do. it is doing some backup-stuff, and repeats that every 12 hours. it is a thread and is placed in the list of middleware-classes, but not processing any request or overwriting any typical method for a middleware cla