UNPKG

agenda

Version:

Light weight job scheduler for Node.js

13 lines (11 loc) 290 B
import { Job } from "."; /** * Sets a job to repeat at a specific time * @name Job#repeatAt * @function * @param time time to repeat job at (human readable or number) */ export const repeatAt = function (this: Job, time: string): Job { this.attrs.repeatAt = time; return this; };