Move free_diskspace to proper location 36/130936/3
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Wed, 24 May 2017 09:17:17 +0000 (11:17 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Tue, 8 Aug 2017 08:18:08 +0000 (10:18 +0200)
Change-Id: Icb342b57a4366b1ad23f89999c5fc1a9e47c9321

tsp/jobs/free_diskspace.sh [moved from tsp/scripts/free_diskspace.sh with 100% similarity]
tsp/jobs/watch_diskspace.sh

index 28d3b88..9fd2e54 100755 (executable)
@@ -26,7 +26,7 @@ PER="$(df -P "${WS_DOWNLOAD}" | grep -o "[0-9]\+%.*$")"
 PER="${PER%\%*}"
 if [ "$PER" -ge 30 ]
 then
-    nr="$(tsmaster -L DISK_CLEANUP sh "${TSP_DIR}/scripts/free_diskspace.sh")"
+    nr="$(tsmaster -L DISK_CLEANUP sh "${TSP_DIR}/jobs/free_diskspace.sh")"
     # make the above job urgent
     tsmaster -u "$nr"
 fi