Files
docker-postgres-backup-local/run.sh
T
Pau Rodriguez-Estivill 3395f51c5d Fixed permisions.
2016-10-28 15:20:36 +02:00

10 lines
128 B
Bash
Executable File

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