From 4907f1b618b57b59b70f88c5a5eaed925407739b Mon Sep 17 00:00:00 2001 From: keybuk Date: Wed, 6 Oct 2004 17:20:42 +0000 Subject: [PATCH] primitive locking git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@9 c2f067bf-98e0-425f-9c98-e76020cfa380 --- cron/01lock | 4 ++++ cron/99unlock | 4 ++++ 2 files changed, 8 insertions(+) create mode 100755 cron/01lock create mode 100755 cron/99unlock diff --git a/cron/01lock b/cron/01lock new file mode 100755 index 0000000..f3b6c5d --- /dev/null +++ b/cron/01lock @@ -0,0 +1,4 @@ +#!/bin/sh + +cd /org/planet.debian.org/log +touch LOCK diff --git a/cron/99unlock b/cron/99unlock new file mode 100755 index 0000000..0d71314 --- /dev/null +++ b/cron/99unlock @@ -0,0 +1,4 @@ +#!/bin/sh + +cd /org/planet.debian.org/log +rm -f LOCK -- 2.39.2