#!/bin/bash

if [ ! "$1" ]; then
  echo "Usage: $0 <cmd>"
  exit 1
fi

until $1; do
  echo "Sleeping 60 seconds..."
  sleep 60
done
