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
11 lines
155 B
#! /bin/sh
|
|
|
|
set -eo pipefail
|
|
|
|
echo "Running s3cmd ..."
|
|
|
|
if [ "${SCHEDULE}" = "**None**" ]; then
|
|
s3cmd "$@"
|
|
else
|
|
exec go-cron "$SCHEDULE" s3cmd "$@"
|
|
fi
|