#!/bin/bash # SPDX-FileCopyrightText: 2008-2026 by Gilles Caulier, # # SPDX-License-Identifier: BSD-3-Clause # while true; do DATE=`date +%H%M` if [[ $DATE == "0900" || $DATE == "1300" || $DATE == "1700" || $DATE == "2100" ]] ; then echo "macOS bundle started at $(date)" git pull ./update.sh echo "macOS bundle completed at $(date)" fi sleep 20 done