diff --git a/scripts/backup.sh b/scripts/backup.sh index 827629c..acb8cc3 100644 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -176,7 +176,7 @@ upload clear_dir clear_history -send_ping send_mail_content "TRUE" "The file was successfully uploaded at $(date +"%Y-%m-%d %H:%M:%S %Z")." +send_ping color none "" diff --git a/scripts/includes.sh b/scripts/includes.sh index dc0f038..b36f7d4 100644 --- a/scripts/includes.sh +++ b/scripts/includes.sh @@ -121,7 +121,7 @@ function send_ping() { return fi - wget "${PING_URL}" -T 10 -t 5 -O /dev/null -q + wget "${PING_URL}" -T 15 -t 10 -O /dev/null -q if [[ $? != 0 ]]; then color red "ping sending failed" else