I have the following code in my modules. It works great, for what it was intended to do. (Keep a running clock for scheduling purposes, break meal penalties etc)
The issue arises if you have two copies of the file open at the same time.
When two files with this code in it ARE open, when you...