The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/definition/ICronJobs.ts

7 lines
261 B

export type ScheduleType = 'cron' | 'text';
export interface ICronJobs {
add(name: string, schedule: string, callback: Function, scheduleType?: ScheduleType): void;
remove(name: string): void;
nextScheduledAtDate(name: string): Date | number | undefined;
}