Crontab
Ping only when the job succeeds:
30 2 * * * /usr/local/bin/backup.sh && curl -fsS -m 10 --retry 5 -o /dev/null https://staging.crony.sh/ping/f3a1c6e2-8d4b-4c7a-9e15-2b6d0c9a7f31Report the exit status, so a failure alerts at once:
30 2 * * * /usr/local/bin/backup.sh; curl -fsS -m 10 --retry 5 -o /dev/null https://staging.crony.sh/ping/f3a1c6e2-8d4b-4c7a-9e15-2b6d0c9a7f31/$?The curl options keep the ping quiet and short: -fsS prints nothing unless something goes wrong, -m 10 gives up after 10 seconds, --retry 5 retries network errors, and -o /dev/null drops the response. Without -o /dev/null, cron mails you the OK after every run.
Give the check the same cron expression as the crontab line, and the time zone the server uses.