Skip to content

Commit 7f00a9f

Browse files
committed
added node-cron
1 parent dde910a commit 7f00a9f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: cron.d.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module "cron" {
2+
class CronJob {
3+
constructor (cronTime: string, onTick: () => any, onComplete?: () => any,
4+
start?: bool, timezone?: string, context?: any);
5+
constructor (cronTime: Date, onTick: () => any, onComplete?: () => any,
6+
start?: bool, timezone?: string, context?: any);
7+
8+
start();
9+
stop();
10+
}
11+
}

0 commit comments

Comments
 (0)