Closed gregcorbett closed 4 years ago
Does this provide the correct exit code when it fails to copy?
the scp
command provides a non-zero exit code on a failure to copy, at wish point the set -eu
should cause the cron job to end.
Does it matter if it doesn't?
🤷
As the dmp file will soon reside on a host without a webserver. This is the code running on our failover now.