-
Notifications
You must be signed in to change notification settings - Fork 48
cron
bpmn-server / Cron
super class for various objects that are part of the server
-
↳
Cron
• new Cron(server
): Cron
Name | Type |
---|---|
server |
IBPMNServer |
• server: any
• get
appDelegate(): any
any
ServerComponent.appDelegate
• get
cache(): CacheManager
ServerComponent.cache
• get
configuration(): any
any
ServerComponent.configuration
• get
cron(): Cron
ServerComponent.cron
• get
dataStore(): any
any
ServerComponent.dataStore
• get
definitions(): any
any
ServerComponent.definitions
• get
engine(): IEngine
ServerComponent.engine
• get
listener(): any
any
ServerComponent.listener
• get
logger(): any
any
ServerComponent.logger
▸ checkTimers(duration?
): Promise
<void
>
Name | Type | Default value |
---|---|---|
duration |
number |
0 |
Promise
<void
>
▸ start(): Promise
<void
>
Promise
<void
>
▸ startTimers(): Promise
<void
>
Promise
<void
>
▸ checkCron(expression
, referenceDateTime
): number
Name | Type |
---|---|
expression |
any |
referenceDateTime |
any |
number
▸ timeDue(expression
, referenceDateTime
): any
Name | Type |
---|---|
expression |
any |
referenceDateTime |
any |
any
▸ timerEnded(item
): void
Name | Type |
---|---|
item |
any |
void
▸ timerScheduled(timeDue
): void
Name | Type |
---|---|
timeDue |
any |
void