On Mon, Jan 30, 2017 at 7:33 PM, Ben Finney
wrote:
> "ad^2" writes:
>
> > So, IF: no lock file, create a lock file, execute, delete lock file
> > when finished successfully. ElSE: the script is running, exit. Then,
> > cron will try again an hour later.
>
mmendation on a best practice with low complexity to make this work. I
was hoping not to use the subprocess module to simulate what could be done
in Bash. But, if that's the answer then so be it.
Thanks,
Ad^2
___
Tutor maillist - Tutor@python.o
7;
'02_80_5301__2017_01_19_08-38-22_6999_0'
'02_80_5307__2017_01_19_08-38-09_1763_0'
or in the case the directory may change in the future I can use variables
somewhere.
>>> path = '/var/tmp/'
>>> extension = '