UNPKG

node-cron-expression

Version:

Declarative functional crontab expression builder

19 lines (18 loc) 435 B
import { HourExpression, MinuteExpression } from './expression'; /** * Set to run in a specific minute * * ``` * atMinute(2); // 2 * * * * * ``` */ export declare const atMinute: (minute: Minute | Minute[]) => MinuteExpression; /** * Set to run in a specific hour. Defaults to the first minute * of that hour * * ``` * atHour(3); // 0 3 * * * * ``` */ export declare const atHour: (hour: Hour | Hour[]) => HourExpression;