KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to find a safe way to prevent a cron job collision (ie. prevent it from running if another instance is already running). Some options I've found recommend using a lock on a file. Is that really a safe option? What would happen if the script dies for example? Will the lock remain? Are there other ways of doing this?
Tags (comma-separated)
Save Edits
Cancel