lockrun

lockrun is a tool that allows you to run cron job with overrun protection.
Download

lockrun Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Steve Friedl
  • Publisher web site:
  • http://www.unixwiz.net/tools/hpsutil.html

lockrun Tags


lockrun Description

lockrun is a tool that allows you to run cron job with overrun protection. lockrun is a tool that allows you to run cron job with overrun protection. When doing network monitoring, it's common to run a cron job every five minutes (the standard interval) to roam around the network gathering data. Smaller installations may have no trouble running within this limit, but in larger networks or those where devices are often unreachable, running past the five-minute mark could happen frequently.The effect of running over depends on the nature of the monitoring application: it could be of no consequence or it could be catastrophic. What's in common is that running two jobs at once (the old one which ran over, plus the new one) slows down the new one, increasing the risk that it will run long as well.This is commonly a cascading failure which can take many polling sessions to right itself, which may include lost data in the interim. Before launching the given command, it insures that another instance of the same command is not already running. INSTALLATIONTo build/install from the command line:$ gcc lockrun.c -o lockrun$ sudo cp lockrun /usr/local/bin/


lockrun Related Software