From cdd92f918f8106adc54f03deb79bdea35fae211a Mon Sep 17 00:00:00 2001 From: Philipp Matthias Schaefer Date: Mon, 19 Feb 2018 17:57:23 +0100 Subject: [PATCH] (Try to) prevent skipping images --- timer-wrapper.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/timer-wrapper.sh b/timer-wrapper.sh index 35d07e2..953dfdf 100644 --- a/timer-wrapper.sh +++ b/timer-wrapper.sh @@ -1,7 +1,7 @@ #!/bin/bash #this calls the archillect-image-get-and-display script every 10 minutes. while true -do - [[ $((10#`date +%M`%10)) == 0 ]] && ./archillect.sh - sleep 60 +do + [[ $((10#`date +%M`%10)) == 1 ]] && ./archillect.sh + sleep 59 done