From 45875a2972a98af9e3c8d951542945a688b4ba6a Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 26 Jan 2019 09:28:03 +0100 Subject: [PATCH] Added a script to clean calls on dev machine --- bin/clean_calls_perpetual.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 bin/clean_calls_perpetual.sh diff --git a/bin/clean_calls_perpetual.sh b/bin/clean_calls_perpetual.sh new file mode 100755 index 0000000..86e2c67 --- /dev/null +++ b/bin/clean_calls_perpetual.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Clean call on a long period +# This script is made to be used on dev machines only +# @author Pierre HUBERT + +# Place us in current directory +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +cd $SCRIPT_DIR; + +while true; do + ./clean_calls + sleep 30; +done \ No newline at end of file