HA-Tools
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.
Documentation
Download
Download the most recent version of the HA-Tools:
|
|
|
V2.00 - 18. Aug 2007 Adjustments of the exit codes returned by hatimerun and halockrun. |
| 151 kB | 244 kB |
Download archive
Change Log
Copyright
hatools Copyright © 2001,2003,2005-2007 by Markus Winand <mws@fatalmind.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.


