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.

11 lines
155 B

  1. #! /bin/sh
  2. set -eo pipefail
  3. echo "Running s3cmd ..."
  4. if [ "${SCHEDULE}" = "**None**" ]; then
  5. s3cmd "$@"
  6. else
  7. exec go-cron "$SCHEDULE" s3cmd "$@"
  8. fi