SchedulerStart

Create, register and start a scheduler with the given instantiation class path.

The className would be the same as instantiang the class via new {className}.

Method Signature

SchedulerStart(className=[string], name=[string], force=[boolean])

Arguments

Argument
Type
Required
Description
Default

className

string

true

The className to the scheduler class to be instantiated: Example: "models.myapp.MyScheduler"

name

string

false

The name of the scheduler to start, which overrides whatever is in the class.

force

boolean

false

If true, will force start the scheduler. Default is true

true

Examples

Last updated

Was this helpful?