Some workloads, such as continuous round-robin tasks, need to run at sub-minute intervals. Second-delay scheduling fills this gap by triggering jobs at fixed intervals between 1 and 60 seconds, with automatic failover and built-in execution tracking.
After the system triggers a job, it waits the configured number of seconds before triggering the job again.
Benefits
Second-delay scheduling based on SchedulerX is a type of periodic scheduling. It supports all types of jobs and execution modes.
| Benefit | Description |
|---|---|
| Automatic failover | If a worker goes down, SchedulerX reruns the job on another worker within 30 seconds. |
| All job types supported | Schedule simple Java jobs, distributed Java jobs, and script jobs. Pair with memory grids to continuously process large datasets. |
| Built-in execution tracking | Track daily trigger counts, numbers of successes and failures, and the 10 most recent execution results from the SchedulerX console. |
Configure second-delay scheduling
Set up second-delay scheduling when you create a job.
In the Create Task panel, go to the Timing configuration step. For details, see Create a job.
From the Time type drop-down list, select second_delay.
In the Fixed delay field, enter a value between 1 and 60 (unit: seconds).
(Optional) In the Advanced Configuration section, configure the following parameters:
Parameter Description Default Time offset Number of seconds to offset the trigger time. None Time zone Time zone for the schedule. None Effective time Date and time when the schedule takes effect. Effective immediately Click Next Step to continue with job creation.
View execution statistics
After the job starts running, check its performance from the Instances page.
In the left-side navigation pane, click Instances.
Locate your second-delay job, then click Details in the Operation column.
The Task instance details panel displays:
| Metric | Description |
|---|---|
| Current day execution details | Trigger count, successes, and failures for today. |
| Previous day execution details | Trigger count, successes, and failures for the previous day. |
| Recent execution results | The 10 most recent execution results. |