ETL Job Monitoring

Know when your scheduled ETL job misses a check-in.

Send a heartbeat after your extract, transform, load, and required checks finish. If the next receipt is missing beyond its grace period, PingCron can queue an alert to your saved destinations.

5 monitors free · Email, Slack, and Discord · No credit card

Monitor completion. Keep your data checks in the pipeline.

Use PingCron for recurring warehouse loads, CRM syncs, imports, or exports that can send an HTTP request after completion. Missing receipts can expose an expectation that was not met, even when the scheduler or host cannot report its own failure.

PingCron does not inspect warehouse rows, measure extraction progress, or automatically validate freshness, schema, or row counts. Your pipeline must perform the checks you need. A receipt confirms a signal arrived; a missing receipt does not identify why.

Setup

Report success after the load and your checks finish.

Create a monitor for one recurring pipeline. Match its schedule and timezone, allow grace for runtime and delay, and supply its private success URL as PINGCRON_URL to the scheduled process.

Replace /opt/etl/run-and-validate.sh with your existing pipeline command. It must wait until the required load is committed or durably completed and your own validation passes, then exit zero. Exit nonzero on failure. Submitting a remote job or starting background work is not completion.

Real-world examples

1. Save as /opt/etl/monitored-pipeline.sh and replace the pipeline command

#!/bin/sh
# Replace with your real command; it must exit nonzero on failure.
/opt/etl/run-and-validate.sh
job_status=$?

if [ "$job_status" -eq 0 ]; then
  if [ -z "${PINGCRON_URL:-}" ]; then
    printf '%s\n' 'Heartbeat not configured; check PINGCRON_URL' >&2
  elif http_status=$(curl -q --silent --output /dev/null \
      --write-out '%{http_code}' --connect-timeout 3 --max-time 10 \
      -- "$PINGCRON_URL"); then
    case "$http_status" in
      2??) ;;
      *) printf '%s\n' 'Work completed, but heartbeat delivery failed' >&2 ;;
    esac
  else
    printf '%s\n' 'Work completed, but heartbeat delivery failed' >&2
  fi
fi
exit "$job_status"

2. User crontab: one hourly entry, on one physical line

0 * * * * /bin/sh /opt/etl/monitored-pipeline.sh

Verify the pipeline’s completion boundary.

  1. Define success for this job. Wait for extraction, transformation, destination load, and required checks. If freshness, expected records, or reconciliation matters, implement those checks in your pipeline and return nonzero when they fail. A zero exit alone cannot establish data quality.
  2. Use the deployed environment. Set the working directory, dependencies, and permissions under the scheduler’s account. Supply the private URL through its secret configuration or a protected environment file your launcher loads. An interactive shell export is not sufficient.
  3. Match the expectation. The example runs hourly in the scheduler’s timezone. Match that in PingCron and allow grace for normal runtime and delay. Use separate monitors for independent pipelines; one pipeline’s success could otherwise hide another’s failure.
  4. Check a real run. Inspect the destination and the first successful heartbeat, then verify a later automatic run. Confirm receipt of a labeled alert-destination test. Set up and verify an alert destination. Use an isolated test monitor to check missed-run detection.

The wrapper preserves the pipeline’s exit status. Its success-only request accepts 2xx responses, disables redirects and curl’s default configuration, and has a 3-second connection limit and 10-second total limit. Reporting failure produces a generic warning; it does not retry the load or limit the pipeline’s runtime.

ETL outcomes and what to check next
Observed resultPipeline and heartbeatNext check
Required validation failsExit nonzero; the wrapper sends no success heartbeat.Inspect the failed validation and destination state before using your pipeline’s retry policy.
Remote job is only submittedWait for terminal completion and required validation before returning success.Read the remote job’s outcome; an accepted request is not a completed load.
Load and validation succeed; reporting failsPreserve exit zero and inspect the heartbeat warning.Check configuration, network access and receipts; do not rerun the completed load just to send a heartbeat.

Integrating inside Python? Use the Python heartbeat setup. For start/failure reporting and fixed schedules, see the monitoring guide.

When broader pipeline coverage justifies Pro

Free includes 5 monitors, 7-day receipt history, and email, Slack, and Discord alerts. Pro is $9.99/month for up to 50 monitors, 30-day receipt history, and custom outbound webhooks for one account owner.

Choose Pro when you need more than five independently monitored pipelines, longer retained history, or webhooks. Stay on Free if it fits. Shared account access starts on Team. These plans do not add data-quality validation.

Choose Pro — $9.99/month

Create your account, then continue to checkout for the paid subscription.

References: curl request options · Shell exit status.

FAQ

Only if your pipeline checks the condition and withholds success or explicitly reports failure when it is unacceptable. For example, an empty extraction may be valid for one job and a failure for another. PingCron does not query your destination or decide those rules.
Use a supported completion hook or a command that waits for the required work and checks to finish. This page shows a shell integration, not a native Airflow or Dagster integration. Keep your orchestrator’s failure and retry handling, and do not send success immediately after submitting work.
A nonzero pipeline exit sends no success heartbeat. The example preserves that exit status and also preserves successful work if reporting fails. Missing check-ins become eligible for detection after their expected time and grace; queue processing and your provider affect alert delivery.
Yes. A /fail check-in can mark a monitor down and queue a notification on transition; repeated failures while already down do not create a new down notification each time. Email, Slack, and Discord use the owning account’s saved destinations. Custom outbound webhooks require Pro or above.

Related monitoring guides

Verify one pipeline before expanding coverage.

Confirm a real scheduled completion and your alert destination. Add separate monitors as you cover more pipelines, then choose the plan that fits your needs.

Monitor one ETL job free

5 monitors free · Email, Slack, and Discord · No credit card