uncleflo

profile picture

Some cool dude. Higher order of decision making. Absolute.

Registered since September 28th, 2017

Has a total of 4281 bookmarks.

Showing top Tags within 1 bookmarks

howto   information   development   guide   reference   administration   design   website   software   solution   online   service   product   business   uk   tool   company   linux   code   server   application   system   web   list   video   marine   create   data   experience   tutorial   description   explanation   learn   technology   build   article   blog   world   project   boat   download   windows   lookup   security   free   performance   javascript   technical   london   beautiful   control   network   tools   support   course   file   research   purchase   image   library   programming   youtube   example   php   construction   install   opensource   community   html   quality   computer   feature   profile   power   browser   music   platform   process   mobile   work   user   share   manage   professional   database   hardware   buy   industry   advice   internet   dance   developer   installation   3d   search   camera   access   customer   travel   material   standard   money   test   develop   review   documentation   css   engineering   photography   webdesign   engine   device   digital   speed   event   api   source   management   program   question   client   phone   discussion   content   simple   story   water   marketing   yacht   app   account   setup   interface   package   idea   fast   communication   compare   cheap   script   market   study   easy   live   google   resource   operation   demonstration   contact   startup  


Tag selected: exclusion.

Clear all

Showing 1 results.

Looking up exclusion tag. Showing 1 results. Clear

Lock your script (against parallel execution)

http://wiki.bash-hackers.org/howto/mutex

Saved by uncleflo on February 8th, 2017.

Sometimes there's a need to ensure only one copy of a script runs, i.e prevent two or more copies running simultaneously. Imagine an important cronjob doing something very important, which will fail or corrupt data if two copies of the called program were to run at the same time. To prevent this, a form of MUTEX (mutual exclusion) lock is needed. The basic procedure is simple: The script checks if a specific condition (locking) is present at startup, if yes, it's locked - the scipt doesn't start. This article describes locking with common UNIX® tools. There are other special locking tools available, But they're not standardized, or worse yet, you can't be sure they're present when you want to run your scripts. A tool designed for specifically for this purpose does the job much better than general purpose code.

cron parallel administration development exclusion lock howto ksh run script execute start


No further bookmarks found.