diff --git a/bin/export-db-to-sqlite.sh b/bin/export-db-to-sqlite.sh index 8a8e03ddf55..889ec7c96eb 100755 --- a/bin/export-db-to-sqlite.sh +++ b/bin/export-db-to-sqlite.sh @@ -313,3 +313,9 @@ echo "Restored original DATABASE_URL to $DATABASE_URL" check_status_and_handle_failure "Checking all_well at the end of the run" echo "Export to $output_db successful" + +# If all is well, ping DMS to avoid an alert being raised. +if [[ -n "${DB_EXPORT_SCRIPT_DMS_URL}" ]]; then + curl -m 10 --retry 5 "${DB_EXPORT_SCRIPT_DMS_URL}" + echo "Pinged snitch" +fi