in reply to Re^4: Race condition in my cron daemon
in thread Race condition in my cron daemon

Glad to hear you found something that works. Sorry I couldn't spot the problem in the original code.