Concept Flow - Lock files for single instance
Start Script
Check if lock file exists
Exit: Another instance
Run main script
Remove lock file
End Script
The script first checks if a lock file exists. If yes, it exits to avoid multiple instances. If no, it creates the lock file, runs the main task, then removes the lock file.