Files
docker-postgres-backup-local/run.sh
T
Pau Rodriguez-Estivill 96c02aafe0 Initial commit.
2016-10-28 14:58:34 +02:00

10 lines
128 B
Bash

#! /bin/sh
set -e
if [ "${SCHEDULE}" = "**None**" ]; then
sh backup.sh
else
exec go-cron "$SCHEDULE" /bin/sh backup.sh
fi