Create and manage background jobs with the Rapidcron SDK
npm install rapidcron --save
import Rapidcron from "rapidcron"; const rapidcron = new Rapidcron("API_KEY");
await rapidcron.tasks.create({ type: "delayed", nextRunAt: new Date(Date.now() + 1000 * 60 * 60), // 1 hour from now request: { method: "POST", url: "https://example.com", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ hello: "world" }) } });