fix(core): update
This commit is contained in:
parent
264c08d848
commit
010c9e7bed
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smarttime',
|
name: '@pushrocks/smarttime',
|
||||||
version: '3.0.47',
|
version: '3.0.48',
|
||||||
description: 'handle time in smart ways'
|
description: 'handle time in smart ways'
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ export type TJobFunction =
|
|||||||
| ((triggerTimeArg?: number) => Promise<any>);
|
| ((triggerTimeArg?: number) => Promise<any>);
|
||||||
|
|
||||||
export class CronJob {
|
export class CronJob {
|
||||||
public cronParser: typeof plugins.croner;
|
public cronParser: plugins.croner;
|
||||||
public status: 'started' | 'stopped' | 'initial' = 'initial';
|
public status: 'started' | 'stopped' | 'initial' = 'initial';
|
||||||
public cronExpression: string;
|
public cronExpression: string;
|
||||||
public jobFunction: TJobFunction;
|
public jobFunction: TJobFunction;
|
||||||
|
Loading…
Reference in New Issue
Block a user