in reply to Re: Locking/unlocking program execution using a queue
in thread Locking/unlocking program execution using a queue
I've done exactly that, but if you use the file's last modified time, then you don't need to worry about the filenames for the jobs as long as they are uniq.