Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
No EOL
729 B
Text
27 lines
No EOL
729 B
Text
export interface NodeCronOptions {
|
|
name: string;
|
|
timezone?: string;
|
|
}
|
|
export interface NodeCron {
|
|
schedule: (cronExpression: string, callback: () => void, options: NodeCronOptions | undefined) => unknown;
|
|
}
|
|
/**
|
|
* Wraps the `node-cron` library with check-in monitoring.
|
|
*
|
|
* ```ts
|
|
* import * as Sentry from "@sentry/node";
|
|
* import * as cron from "node-cron";
|
|
*
|
|
* const cronWithCheckIn = Sentry.cron.instrumentNodeCron(cron);
|
|
*
|
|
* cronWithCheckIn.schedule(
|
|
* "* * * * *",
|
|
* () => {
|
|
* console.log("running a task every minute");
|
|
* },
|
|
* { name: "my-cron-job" },
|
|
* );
|
|
* ```
|
|
*/
|
|
export declare function instrumentNodeCron<T>(lib: Partial<NodeCron> & T): T;
|
|
//# sourceMappingURL=node-cron.d.ts.map |