TwillAI / docs / node

Node.js / TypeScript integration

Using fetch (Node 18+)

Call the ping URL at the end of your script. Fire-and-forget is fine.

// At the end of your job:
fetch("https://crondash.dev/ping/YOUR_KEY").catch(() => {})

In a cron library (e.g. node-cron)

Ping at the end of your cron handler.

cron.schedule("0 * * * *", async () => {
  await runMyJob()
  fetch("https://crondash.dev/ping/YOUR_KEY").catch(() => {})
})

Get early access to try this

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