9 lines
128 B

10 years ago
  1. #! /bin/sh
  2. set -e
  3. if [ "${SCHEDULE}" = "**None**" ]; then
  4. sh backup.sh
  5. else
  6. exec go-cron "$SCHEDULE" /bin/sh backup.sh
  7. fi