Re: how to start a python script only once

2010-03-14 Thread Glazner
On Mar 13, 8:45 pm, News123 wrote: > Hi, > > I'd like to make sure, that a certain python program will only be run > once per host. (linux/windows) > > so if the program is started a second time it should just terminate and > let the other one run. > > This does not have to be the fastest solution

Re: how to start a python script only once

2010-03-14 Thread News123
Hi Daniel, One more question: Daniel Fetchinson wrote: >> I'd like to make sure, that a certain python program will only be run >> once per host. (linux/windows) >> >> >> so if the program is started a second time it should just terminate and >> let the other one run. >> >> This does not have t

Re: how to start a python script only once

2010-03-14 Thread News123
Hi Daniel, Daniel Fetchinson wrote: >> I'd like to make sure, that a certain python program will only be run >> once per host. (linux/windows) >> >> >> so if the program is started a second time it should just terminate and >> let the other one run. >> >> This does not have to be the fastest solut

Re: how to start a python script only once

2010-03-14 Thread News123
Hi Francesco, Francesco Bochicchio wrote: > On 13 Mar, 19:45, News123 wrote: >> Hi, >> >> I'd like to make sure, that a certain python program will only be run >> once per host. (linux/windows) >> >> so if the program is started a second time it should just terminate and >> let the other one run.

Re: how to start a python script only once

2010-03-14 Thread Daniel Fetchinson
> I'd like to make sure, that a certain python program will only be run > once per host. (linux/windows) > > > so if the program is started a second time it should just terminate and > let the other one run. > > This does not have to be the fastest solution, but it should be reliable. > > > I have

Re: how to start a python script only once

2010-03-14 Thread Francesco Bochicchio
On 13 Mar, 19:45, News123 wrote: > Hi, > > I'd like to make sure, that a certain python program will only be run > once per host. (linux/windows) > > so if the program is started a second time it should just terminate and > let the other one run. > > This does not have to be the fastest solution,

how to start a python script only once

2010-03-13 Thread News123
Hi, I'd like to make sure, that a certain python program will only be run once per host. (linux/windows) so if the program is started a second time it should just terminate and let the other one run. This does not have to be the fastest solution, but it should be reliable. I have a few ideas,