CronJobManager
CronJobManager is a scheduled task manager provided by NocoBase, based on cron. You can register scheduled tasks in your plugins for periodically executing specific logic.
Basic Usage
Parameter Description
The CronJobParameters type definition is as follows (from cron):
Cron Expression Examples
Tip
You can use crontab.guru to help generate cron expressions.
Control Task Start and Stop
addJob() returns a job object that you can use to manually control the task:
Tip
Scheduled tasks start and stop along with the application. You generally don't need to manually call start() or stop().
Related Links
- Plugin - Plugin lifecycle and core APIs
- Event - Application event listening and triggering
- Server Development Overview - Overview of all server modules
- Plugin Development Overview - Overall introduction to plugin development

