Skip to content
Snippets Groups Projects
wu-lee's avatar
wu-lee authored
Script ran fine on the console, failed in cron job.  This is because
the docker-compose exec command was attempting (by default) to allocate
 a TTY, and failing.  This was also not being detected because the
default bash behaviour is to return the status of the last command
in a pipe (in this case, gzip). Enable pipefail option to prevent this.
196ba2d6
History
Name Last commit Last update