Re: How I run background processes

2009-07-23 Thread Rajesh D
On Jul 21, 9:10 am, Philippe Josse wrote: > Hi there, > > I would like to have your feedback on the way I am running daemon scripts > for my Django/ Python app. I know this is definitely not the "one best way", > but this is a solution I came up with that seemed simple

Re: How I run background processes

2009-07-22 Thread cheeming
I think the other situation is that the old cron job is not done yet and the new cron job gets started up. Having a flag in the DB would be able to fix that as well. On Jul 21, 9:33 pm, Andrew Fong wrote: > >> I was worried by potential caching issues with the database

Re: How I run background processes

2009-07-21 Thread Andrew Fong
>> I was worried by potential caching issues with the database that >> may prevent my cron script to retrieve the latest boolean value. It sounds as if you're worried about a race condition when scale up -- e.g. let's say you need to run a lot of background processes and decide to split them up

How I run background processes

2009-07-21 Thread Philippe Josse
Hi there, I would like to have your feedback on the way I am running daemon scripts for my Django/ Python app. I know this is definitely not the "one best way", but this is a solution I came up with that seemed simple to implement. (I am a real newbie!) My constraints: - getting a few processs