diff --git a/cronjob.sh b/cronjob.sh
index bf29121f769e316e4ab1368c362718063a04b921..e79323b96fbd4bd01f4ea826e201a50ce0a557a7 100644
--- a/cronjob.sh
+++ b/cronjob.sh
@@ -9,6 +9,8 @@ PIDFILE="/var/run/sensapex_proxy.pid"
# Path to the log file
LOGFILE="/var/log/sensapex_proxy.log"
+SLEEP_TIME=5
+
# Path to the task executable or script
TASK="$SCRIPT_DIR/executeable/smcp1_proxy"
@@ -43,5 +45,5 @@ while true; do
echo "Task crashed. Restarting..." >> "$LOGFILE"
start_task
fi
- sleep 10
+ sleep $SLEEP_TIME
done
\ No newline at end of file