For the complete documentation index, see llms.txt. This page is also available as Markdown.

SchedulerNew

Create and register a new scheduler.

Method Signature

SchedulerNew(name=[string], timezone=[string], force=[boolean])

Arguments

Argument
Type
Required
Description
Default

name

string

true

The name of the scheduler to create.

timezone

string

false

The timezone for the scheduler. Defaults to the system default timezone.

force

boolean

false

Whether to replace an existing scheduler with the same name. Defaults to false.

false

Examples

Create a new scheduler

sched = schedulerNew( "myScheduler", 4 );
writeOutput( sched.getName() );

Result: myScheduler

Scheduler with custom thread count

Result: true

Last updated

Was this helpful?