Second delay
Updated at:
Copy as MD
This topic describes the use cases and configuration of second-delay scheduling.
Background information
Second-delay scheduling is suitable for services with high real-time requirements, such as near real-time services that require continuous polling.
Second-delay scheduling supports job execution at intervals of 1 to 60 seconds. After a job instance completes, the next run is triggered after the specified delay.
Second-delay scheduling offers the following benefits:
- High reliability: If a worker fails, the job is automatically reassigned and restarted on another worker within 30 seconds.
- Versatile job support: Second-delay scheduling supports all job types and execution modes, including simple Java jobs, distributed Java jobs, and script jobs. When combined with a memory grid, it enables continuous processing of large data volumes.
- Detailed statistics: SchedulerX provides comprehensive statistics for second-delay jobs, including the number of executions, successes, and failures for the current day, as well as the results of the last 10 runs.
Second delay configuration
You can configure second-delay scheduling when you create a job.
- Go to the Schedule Configuration tab. For more information, see Create a job.
- On the Create Task tab of the Schedule Configuration wizard, configure the parameters and then click Next.
Parameter Description Time Type Select second_delay. fixed delay The delay interval in seconds. Valid values: 1 to 60. Time offset The data time offset in seconds. Time Zone Select the appropriate time zone for your job.
Second-delay job statistics
After you create a second-delay job, a Second-delay Job Statistics tab appears on the Job Instance Details page. This tab displays the following information:
- Execution results for the current day
- Execution results for the previous day
- Results of the last 10 executions
Is this page helpful?