Cronping

cURL

Ping Cronping from the command line using curl.

curl is the most common way to ping Cronping. It is available on every Linux/macOS/Windows system and has no dependencies.

Basic ping

curl https://ping.cronping.com/<token>
curl -fsS https://ping.cronping.com/<token>
FlagMeaning
-fFail silently on HTTP error responses (4xx/5xx)
-sSilent mode — suppress progress output
-SShow errors even with -s — you'll still see connection failures

With a timeout

Prevents curl from hanging indefinitely in case the network is slow:

curl -fsS --max-time 10 https://ping.cronping.com/<token>

In a cron job

Append the ping after your command using && (only fires on success):

0 3 * * * /usr/bin/backup.sh && curl -fsS --max-time 10 https://ping.cronping.com/<token>

Ignore ping errors

If you don't want a curl failure to be visible in cron output:

0 3 * * * /usr/bin/backup.sh && curl -fsS --max-time 10 https://ping.cronping.com/<token> > /dev/null 2>&1

wget alternative

If curl is not available, wget works just as well:

wget -q -O /dev/null https://ping.cronping.com/<token>

Start and success (measure duration)

curl -fsS --max-time 10 https://ping.cronping.com/<token>/start
/usr/bin/backup.sh
curl -fsS --max-time 10 https://ping.cronping.com/<token>

Report exit code

/usr/bin/backup.sh
curl -fsS --max-time 10 https://ping.cronping.com/<token>/$?

Signal failure explicitly

curl -fsS --max-time 10 https://ping.cronping.com/<token>/fail

On this page