13 lines
221 B

10 years ago
10 years ago
  1. #! /bin/sh
  2. set -e
  3. if [ "${S3_S3V4}" = "yes"]; then
  4. aws configure set default.s3.signature_version s3v4
  5. fi
  6. if [ "${SCHEDULE}" = "**None**" ]; then
  7. sh backup.sh
  8. else
  9. exec go-cron "$SCHEDULE" /bin/sh backup.sh
  10. fi