Merge pull request #1 from fiveop/master

(Try to) prevent skipping images
This commit is contained in:
chuckthegecko 2018-02-19 18:06:34 +01:00 committed by GitHub
commit 691ed69b74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
#this calls the archillect-image-get-and-display script every 10 minutes. #this calls the archillect-image-get-and-display script every 10 minutes.
while true while true
do do
[[ $((10#`date +%M`%10)) == 0 ]] && ./archillect.sh [[ $((10#`date +%M`%10)) == 1 ]] && ./archillect.sh
sleep 60 sleep 59
done done