Skip to content

Commit a413998

Browse files
Fix: postgres-backup-s3 crontab syntax
It was yielding an error "user lookup failed: user: unknown user /bin/sh"
1 parent 3c69628 commit a413998

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

postgres-backup-s3/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ fi
99
if [ "${SCHEDULE}" = "**None**" ]; then
1010
sh backup.sh
1111
else
12-
echo -e "SHELL=/bin/sh\n${SCHEDULE} /bin/sh /backup.sh" > /etc/crontabs/root
12+
echo -e "SHELL=/bin/sh\n${SCHEDULE} root /bin/sh /backup.sh" > /etc/crontabs/root
1313
exec go-crond /etc/crontabs/root
1414
fi

0 commit comments

Comments
 (0)