Second-delay scheduling
When workloads require near real-time processing at sub-minute intervals, standard cron scheduling (minimum 1-minute granularity) is insufficient. Second-delay scheduling triggers a job at a fixed interval between 1 and 60 seconds, providing continuous short-interval execution for scenarios such as real-time data synchronization, metric collection, and event-driven processing.
How it works
After SchedulerX triggers a second-delay job, the system waits a specified number of seconds before triggering the job again. You can configure the delay interval from 1 to 60 seconds to match your workload requirements.
Failover behavior
If a worker goes down during execution, SchedulerX reassigns the job to another available worker within 30 seconds.
Supported job types
Second-delay scheduling works with all job types and execution modes:
Simple Java jobs
Distributed Java jobs
Script jobs
Combine distributed Java jobs with memory grids to continuously process large volumes of data at second-level intervals.
Create a second-delay job
- Open the Timing configuration wizard page. For more information, see Create a job.
- On the Timing configuration page of the Create task wizard, configure the following parameters, and then click Next Step.
Parameter Description Time type Select second_delay. Fixed delay The delay interval in seconds. Valid values: 1 to 60. A shorter delay increases execution frequency but also increases resource consumption. Time offset The data time offset, in seconds. Time zone The time zone for scheduling. Select a time zone that matches your data processing requirements.
Monitor second-delay job execution
After you create a second-delay job, a Second-delay job statistics tab appears on the Job instance details page. Use this tab to monitor job health and diagnose failures.
The tab displays:
| Metric | Description |
| Current-day execution details | Trigger count, number of successes, and number of failures for the current day |
| Previous-day execution details | The same metrics for the previous day, for comparison |
| Recent execution results | The 10 most recent execution results with status and timestamps |