#!/usr/bin/env bash LOCK="/tmp/clock.lock" if [ -f "$LOCK" ]; then exit 1 else exit 0 fi