You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
128 B

9 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