From 180fd6bb16896ce8c76f1f8ebdb299a584abbce9 Mon Sep 17 00:00:00 2001 From: Aleksander Mistewicz Date: Wed, 24 May 2017 11:18:58 +0200 Subject: [PATCH] Move watchers to separate directory Current split is: - watchers: programs executed by cron - jobs: programs executed by queue - scripts: programs executed by jobs Change-Id: I522684417cd94729a76cf38c22d318c91f63ae2f --- tsp/cronfile.example | 10 +++++----- tsp/{jobs => watchers}/watch_diskspace.sh | 0 tsp/{jobs => watchers}/watch_sdb.sh | 0 tsp/{jobs => watchers}/watch_symlinks.sh | 0 tsp/{jobs => watchers}/watch_usb.sh | 0 tsp/{jobs => watchers}/watcher.sh | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename tsp/{jobs => watchers}/watch_diskspace.sh (100%) rename tsp/{jobs => watchers}/watch_sdb.sh (100%) rename tsp/{jobs => watchers}/watch_symlinks.sh (100%) rename tsp/{jobs => watchers}/watch_usb.sh (100%) rename tsp/{jobs => watchers}/watcher.sh (100%) diff --git a/tsp/cronfile.example b/tsp/cronfile.example index 543e658..c32d775 100644 --- a/tsp/cronfile.example +++ b/tsp/cronfile.example @@ -1,5 +1,5 @@ -*/10 * * * * /opt/testlab-major/tsp/jobs/watcher.sh -0 */4 * * * /opt/testlab-major/tsp/jobs/watch_diskspace.sh -0 * * * * /opt/testlab-major/tsp/jobs/watch_sdb.sh -*/10 * * * * /opt/testlab-major/tsp/jobs/watch_usb.sh -0 */8 * * * /opt/testlab-major/tsp/jobs/watch_symlinks.sh +*/10 * * * * /opt/testlab-major/tsp/watchers/watcher.sh +0 */4 * * * /opt/testlab-major/tsp/watchers/watch_diskspace.sh +0 * * * * /opt/testlab-major/tsp/watchers/watch_sdb.sh +*/10 * * * * /opt/testlab-major/tsp/watchers/watch_usb.sh +0 */8 * * * /opt/testlab-major/tsp/watchers/watch_symlinks.sh diff --git a/tsp/jobs/watch_diskspace.sh b/tsp/watchers/watch_diskspace.sh similarity index 100% rename from tsp/jobs/watch_diskspace.sh rename to tsp/watchers/watch_diskspace.sh diff --git a/tsp/jobs/watch_sdb.sh b/tsp/watchers/watch_sdb.sh similarity index 100% rename from tsp/jobs/watch_sdb.sh rename to tsp/watchers/watch_sdb.sh diff --git a/tsp/jobs/watch_symlinks.sh b/tsp/watchers/watch_symlinks.sh similarity index 100% rename from tsp/jobs/watch_symlinks.sh rename to tsp/watchers/watch_symlinks.sh diff --git a/tsp/jobs/watch_usb.sh b/tsp/watchers/watch_usb.sh similarity index 100% rename from tsp/jobs/watch_usb.sh rename to tsp/watchers/watch_usb.sh diff --git a/tsp/jobs/watcher.sh b/tsp/watchers/watcher.sh similarity index 100% rename from tsp/jobs/watcher.sh rename to tsp/watchers/watcher.sh -- 2.7.4