@dazejs/framework
Version:
Daze.js - A powerful web framework for Node.js
46 lines (45 loc) • 2 kB
TypeScript
export declare const Corntab: {
corn: (expression?: string) => MethodDecorator;
everySecond: () => MethodDecorator;
everyTwoSeconds: () => MethodDecorator;
everyThreeSeconds: () => MethodDecorator;
everyFourSeconds: () => MethodDecorator;
everyFiveSeconds: () => MethodDecorator;
everyTenSeconds: () => MethodDecorator;
everyFifteenSeconds: () => MethodDecorator;
everyThirtySeconds: () => MethodDecorator;
everyMinute: () => MethodDecorator;
everyTwoMinutes: () => MethodDecorator;
everyThreeMinutes: () => MethodDecorator;
everyFourMinutes: () => MethodDecorator;
everyFiveMinutes: () => MethodDecorator;
everyTenMinutes: () => MethodDecorator;
everyFifteenMinutes: () => MethodDecorator;
everyThirtyMinutes: () => MethodDecorator;
hourly: () => MethodDecorator;
hourlyAt: (offset: number | number[]) => MethodDecorator;
everyTwoHours: () => MethodDecorator;
everyThreeHours: () => MethodDecorator;
everyFourHours: () => MethodDecorator;
everySixHours: () => MethodDecorator;
daily: () => MethodDecorator;
dailyAt: (time: string) => MethodDecorator;
weekdays: () => MethodDecorator;
weekends: () => MethodDecorator;
mondays: () => MethodDecorator;
tuesdays: () => MethodDecorator;
wednesdays: () => MethodDecorator;
thursdays: () => MethodDecorator;
fridays: () => MethodDecorator;
saturdays: () => MethodDecorator;
sundays: () => MethodDecorator;
weekly: () => MethodDecorator;
weeklyOn: (dayOfWeek: string | number, time?: string) => MethodDecorator;
monthly: () => MethodDecorator;
monthlyOn: (dayOfMonth: string | number, time?: string) => MethodDecorator;
quarterly: () => MethodDecorator;
yearly: () => MethodDecorator;
yearlyOn: (month?: string | number, dayOfMonth?: string | number, time?: string) => MethodDecorator;
timezone: (timezone: string) => MethodDecorator;
runOnSingletonServer: () => MethodDecorator;
};