Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import { Client } from "@upstash/qstash"; const client = new Client({ token: "<QSTASH_TOKEN>" }); const schedules = client.schedules(); await schedules.create({ destination: "https://my-api...", cron: "*/5 * * * *", });
import { Client } from "@upstash/qstash"; const client = new Client({ token: "<QSTASH_TOKEN>" }); const schedules = client.schedules(); await schedules.create({ destination: "https://my-api...", cron: "0 * * * *", callback: "https://my-callback...", failureCallback: "https://my-failure-callback...", });
import { Client } from "@upstash/qstash"; const client = new Client({ token: "<QSTASH_TOKEN>" }); const schedules = client.schedules(); await schedules.create({ destination: "my-topic", cron: "* * * * *", });
import { Client } from "@upstash/qstash"; const client = new Client({ token: "<QSTASH_TOKEN>" }); const schedules = client.schedules(); const res = await schedules.get("scheduleId"); console.log(res.cron);
import { Client } from "@upstash/qstash"; const client = new Client({ token: "<QSTASH_TOKEN>" }); const schedules = client.schedules(); const allSchedules = await schedules.list(); console.log(allSchedules);
import { Client } from "@upstash/qstash"; const client = new Client({ token: "<QSTASH_TOKEN>" }); const schedules = client.schedules(); await schedules.delete("scheduleId");
Was this page helpful?