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
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
>> 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
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
4 matches
Mail list logo