You can use properties to manage cron tasks.
Property | Description | Default value |
---|---|---|
mxe.crontask.corepoolsize | Represents the cron task thread pool size for core threads. |
20 |
mxe.crontask.deleteBB | Removes expired bulletin board records. |
0 |
mxe.crontask.donotrun | Use ALL to exclude all cron tasks from running. To exclude a specific cron task from running, specify the crontaskname.instancename instance. |
|
mxe.crontask.dorun | Indicates that all cron tasks should run. |
|
mxe.crontask.historycleanuprate | Determines how often, in minutes, the excessive cron task history records are removed. There is no action if the value is set to 0. |
180 |
mxe.cronTaskInitDelay | Represents the cron task monitor initialization delay in seconds. After the system server starts, this property determines the amount of time before the server initializes the cron task. |
60 |
mxe.cronTaskMonitorInterval | Determines the time intervals at which the cron task manager monitors the statuses of the cron tasks. |
60 |
mxe.crontask.keepalivetime | Represents the cron task thread pool keep-alive time for inactive threads. |