notify - Interface to App::OverWatch DB locks
notify [OPTIONS] COMMAND Commands: --check --create --force_unlock --list --lock --print --unlock --update Options: --system --worker --text --expiry --help --verbose
Create the Notify table 'notifys':
# notify --create_table
Create a lock named 'global':
# notify --create_lock --system global
Check whether 'global' is locked (flagged by exit status):
# notify --check --system global
Attempt to lock the 'global' lock:
# notify --lock --system global --worker myworkerid --text 'testing lock' # notify --lock --system global --worker myworkerid --text 'testing lock' --expiry 60
Unlock:
# notify --unlock --system global --worker myworkerid
Force an unlock
# notify --force_unlock --system global
Print details about a lock:
# notify --print --system global
List all available locks:
# notify --list
notify is used to create and manipulate locks in a backend database. It provides a simple example interface to the Perl App::OverWatch::Notify module.
servicelock
eventlog
Chris Hughes
To install App::OverWatch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::OverWatch
CPAN shell
perl -MCPAN -e shell install App::OverWatch
For more information on module installation, please visit the detailed CPAN module installation guide.