Configuration
Default configuration keys for @quik/scheduler. See Config Keys and Environment Variables for the full generated table.
scheduler.executor.database(envSCHEDULER_EXECUTOR_DATABASE) selects the database-backed executor instead of the in-memoryQExecutor, when@quik/databaseis also registered.scheduler.maxConcurrency(default1, envSCHEDULER_MAX_CONCURRENCY) limits how many concurrent runs of the same task are allowed; overlapping runs beyond the limit are skipped and logged.app.timezone(default"UTC", from@quik/core) is used to evaluate cron expressions.
Enabling the scheduler
Registering @quik/scheduler in bootstrap is not enough by itself — the module's setup() only initializes the
IQScheduleExecutor/IQBackgroundRunner features when the bootstrap startScheduler flag is set. Pass it when
configuring the application bootstrap (options.flags.startScheduler).