Sometimes I have a server task failing due to certain files being used by another script at the exact time.
I am wondering if it is possible to write code that bypasses this? I mean, is it possible to make the script move past a file IF it is already in use by another process, instead of stopping the script reload and throwing an error?
I am also wondering if this might be a good idea at all?