Skip to content

CronMetadata

Defined in: tsed/src/decorators/types.ts:71

Metadata for a single

decorated method.

Stored in the JobStore and used by MonqueModule to schedule cron jobs.

method: string;

Defined in: tsed/src/decorators/types.ts:85

Method name on the controller class.


name: string;

Defined in: tsed/src/decorators/types.ts:80

Job name (defaults to method name if not specified in options).


opts: CronDecoratorOptions;

Defined in: tsed/src/decorators/types.ts:90

Schedule options forwarded to Monque.schedule().


pattern: string;

Defined in: tsed/src/decorators/types.ts:75

Cron expression (5-field standard or predefined like @daily).