#!/usr/bin/env bash . /app/utils.sh sleep_time=3600 while : do regions="europe/great-britain" style="" [[ -n "$OSMGARMIN_REGIONS" ]] && regions="$OSMGARMIN_REGIONS" [[ -n "$OSMGARMIN_STYLE" ]] && style="$OSMGARMIN_STYLE" /app/build-gmap.sh "$regions" "$style" echo "💤 Sleeping $sleep_time seconds..." sleep $sleep_time done