Skip to content

Jay's IT blog

Hints and rants of a system administrator
Menu
  • Home
  • About
  • Buy me a beer
  • Impressum

Month: November 2011

Bash: How to check if your script is already running

2011-11-30 / Jay2k1 / 7 Comments

Sometimes, you don’t want a script to run when it is already running. Maybe it is scheduled as a cronjob but the previous run of that cronjob hasn’t finished yet. I usually do some “pre-flight checks” in almost every script I write. And most times, this is one of them.

Continue reading →

Welcome to Jay’s IT blog!

Here you'll find IT related howtos, code snippets, random rants, and probably horribly outdated information, written by a guy born in 1984 who likes IT&tech stuff, photography, music you can bang your head to, and cats. Enjoy your stay!
          Jay2k1

Categories

Android Hardware How-To iPhone Linux Mac Rant SSD Uncategorized Windows
Powered by WordPress | Theme by Themehaus