UNPKG

@rocket.chat/apps-engine

Version:

The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.

14 lines (13 loc) 431 B
/** Represents a job that runs only once */ export interface IOnetimeSchedule { /** The schedule's identifier */ id: string; /** * The time at which the job will be run. * Values can be a [human-interval](https://github.com/agenda/human-interval) string * or a `Date` object. */ when: string | Date; /** An object that can be passed to the processor with custom data */ data?: object; }