TwillAI / docs / python

Python integration

Using requests

Call the ping URL at the end of your Python script or Celery task.

import requests

# your job logic here

requests.get("https://crondash.dev/ping/YOUR_KEY", timeout=5)

With error handling

Wrap in a try/except so a network issue doesn't break your job.

try:
    requests.get("https://crondash.dev/ping/YOUR_KEY", timeout=5)
except Exception:
    pass  # don't let ping failure break the job

Get early access to try this

CronDash is in early access. Drop your email and we'll send you credentials.