< Home - < Back

withlock


Information about the package, withlock, which is shipped with common Linux distributions. The withlock package is designed for, Locking wrapper script.


Package Name:

withlock

Summary:

Locking wrapper script

Description:

withlock is a locking wrapper script to make sure that some program isn't run more than once. It is ideal to prevent periodic jobs spawned by cron from stacking up. The locks created are valid only while the wrapper is running, and thus will never require additional cleanup, even after a reboot. This makes the wrapper safe and easy to use, and much better than implementing half-hearted locking within scripts.

Architecture:

noarch

Version:

0.3

Release:

1.el6

Size:

5.8 k

Repository:

epel

From Repository:

Licence:

ASL 2.0



Handy Yum Commands for withlock


Control the withlock package with the following handy commands outlined below.


Command

Description of Command

yum install withlock

This command will install withlock on the server.

yum remove withlock

This command will un-install withlock on the server. When you run this command, you will be asked if you are sure that you want to remove withlock, so you have to manually confirm that you want to do this.

yum -y remove withlock

This command will un-install withlock on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove withlock when using the -y flag.

yum update withlock

This command will update withlock to the latest version. When you run this command, you will be asked if you are sure that you want to remove withlock, so you have to manually confirm that you want to do this.

yum -y update withlock

This command will update withlock to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove withlock when using the -y flag.

yum info withlock

This command will show you core information about the withlock package.

yum deplist withlock

This command will show you the dependencies for withlock. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update withlock

This command will check if there is an update waiting on withlock. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.