dev-master
9999999-dev
MIT
The Requires
The Development Requires
by thesebas
1.1.0
1.1.0.0
MIT
The Requires
The Development Requires
by thesebas
1.0.0
1.0.0.0
MIT
The Requires
The Development Requires
by thesebas
runlock <options> acquire/free lock exit codes: 0 - lock acquired 1 - failed acquiring lock 2 - other error Options: -a, --action <arg> `lock`, `unlock` or `reset` [default: `lock`] -l, --lockname <arg> lock name -n, --count <arg> how many locks can be acquired [default: 1] -d, --delay <arg> delay running script rand(0, n) seconds -c, --config <arg> path to file with params in .ini format [default: /etc/runlock/config.ini] -v, --verbose verbose mode -h, --help show help
composer global require thesebas/runlock:dev-master
In crontab
, (*1)
*/15 * * * * runlock -l lockname && (job_to_do.sh || runlock -a unlock -l lockname)
MIT
MIT
MIT