Skip to main content

@webda/coreReadme | API


Class: CronDefinition

Cron item

Constructors

new CronDefinition(cron, args, serviceName, method, description)

new CronDefinition(cron, args, serviceName, method, description): CronDefinition

Parameters

cron: string

args: any[]= []

serviceName: string= ""

method: string= ""

description: string= ""

Returns

CronDefinition

Source

packages/core/src/services/cron.ts:41

Properties

args

args: any[]

Argument to be passed to the function

Source

packages/core/src/services/cron.ts:23


cron

cron: string

Cron definition

      • 0 3

Source

packages/core/src/services/cron.ts:14


description

description: string

Description of the task

Source

packages/core/src/services/cron.ts:19


method

method: string

Method to call

Source

packages/core/src/services/cron.ts:27


serviceName

serviceName: string

Webda service name

Source

packages/core/src/services/cron.ts:31

Methods

toString()

toString(): string

Returns

string

Source

packages/core/src/services/cron.ts:49