The HA-Tools provide some programs to improve shell scripting in a High Availability environment.
The halockrun program provides a simple and reliable way to implement a locking in shell scripts. A typical usage for halockrun is to prevent cronjobs to run simultanously. halockrun uses a lock on a file via fcntl(2) which ensures the release of the lock even if the process gets killed via SIGKILL.
The hatimerun program provides a time-out mechanism which can be used from shell scripts.
The halockrun program provides a simple and reliable way to implement a locking in shell scripts. A typical usage for halockrun is to prevent cronjobs to run simultanously. halockrun uses a lock on a file via fcntl(2) which ensures the release of the lock even if the process gets killed via SIGKILL.
The hatimerun program provides a time-out mechanism which can be used from shell scripts.
2.14





Distribution | Version | Since | Package | Installed | Packager | |
---|---|---|---|---|---|---|
![]() | rpm | 2.14-11.fc27 | 2019-01-14 | 35.7 kiB | 62.2 kiB | Fedora Project |
![]() | rpm | 2.14-13.fc29 | 2019-01-14 | 35.1 kiB | 78.5 kiB | Fedora Project |
![]() | rpm | 2.14-13.fc29 | 2019-01-14 | 35.1 kiB | 78.5 kiB | Fedora Project |
![]() | rpm | 2.14-14.fc30 | 2019-06-17 | 33.4 kiB | 86.6 kiB | Fedora Project |
![]() | rpm | 2.14-15.fc31 | 2020-01-07 | 36.1 kiB | 77.4 kiB | Fedora Project |
![]() | rpm | 2.14-16.fc32 | 2020-02-08 | 35.9 kiB | 77.1 kiB | Fedora Project |
Manual pages
halockrun(1)
halockrun - Run command while holding exclusive lock on file.
hatimerun(1)
hatimerun - Run command with a timeout.
Latest updates

Fedora rawhide development/Everything-os: Updated from 2.14-15.fc31 to 2.14-16.fc32
2020-02-08

Fedora 31 releases/Everything-os: Version 2.14-15.fc31 introduced
2020-01-07

Fedora rawhide development/Everything-os: Updated from 2.14-14.fc30 to 2.14-15.fc31
2019-08-03

Fedora 30 releases/Everything-os: Version 2.14-14.fc30 introduced
2019-06-17

Fedora rawhide development/Everything-os: Updated from 2.14-13.fc29 to 2.14-14.fc30
2019-02-12

Fedora rawhide development/Everything-os: Version 2.14-13.fc29 reintroduced
2019-01-16

Fedora rawhide development/Everything-os: Version 2.14-13.fc29 removed
2019-01-15

Fedora rawhide development/Everything-os: Updated from 2.14-11.fc27 to 2.14-13.fc29
2019-01-14

Fedora 29 releases-test/Everything-os: Version 2.14-13.fc29 introduced
2019-01-14

Fedora 29 releases/Everything-os: Version 2.14-13.fc29 introduced
2019-01-14

Fedora 28 releases/Everything-os: Version 2.14-11.fc27 introduced
2019-01-14

Fedora 27 releases/Everything-os: Version 2.14-11.fc27 introduced
2017-11-14

Fedora rawhide development/Everything-os: Version 2.14-11.fc27 introduced
2017-11-10

Fedora 27 development/Everything-os: Version 2.14-11.fc27 introduced
2017-11-10

Fedora 27 releases-test/Everything-os: Version 2.14-11.fc27 introduced
2017-11-10

Fedora 26 releases/Everything-os: Version 2.14-9.fc26 introduced
2017-11-10
Related packages
hatools-debuginfo - Debug information for package hatools
hatools-debugsource - Debug sources for package hatools