tiink
Version:
Tiink is NodeJS Job Schedule!
11 lines (10 loc) • 350 B
TypeScript
import { Job, JobTime, JobAction } from './types';
export declare class Tiink {
private jobs;
addJob(jobProps: Job): void;
setJobAction(jobProps: Job, initial?: boolean): JobAction;
stopJob(name: string): void;
restartJob(name: string): void;
deleteJob(name: string): void;
getTimeTo(time: JobTime, date: Date): number;
}