Job
interface Job
Kronos Job For Scheduling tasks
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Called when the final cycle of a bounded job (maxCycles or endTime) completes and the job is dropped.
Link copied to clipboard
open fun onRetryFail(retryCount: Int, cycleNumber: Int, params: Map<String, Any>, exception: Exception?)
Called after each individual retry attempt fails. retryCount goes from 1 to retries. onFail is called once all retries are exhausted.
Link copied to clipboard
Called when the next occurrence of a repeating job has been inserted into the database. Useful for tracking the current job ID when you hold a reference to it.