3 ms·
Lock File Practices
- js2 12y agohttps://github.com/jaysoffian/dotlock https://github.com/jaysoffian/dotlock
- jakeogh 12y agohttps://github.com/jakeogh/shell_command_lock https://github.com/jakeogh/shell_command_lock
- nvader 12y agoI'm not really sure what the benefit of this is over simply doing: flock -n $lockfile -c "command here" You can put the flock command into your crontab or spinup script.