ScheduleRule
Types
Link copied to clipboard
Due once, millis after the commit that sets it.
Link copied to clipboard
Due once, at epochMillis.
Link copied to clipboard
class Cron @InternalWowApi constructor(val expression: String, val zone: String = UTC, val misfire: Misfire = Misfire.COALESCE) : ScheduleRule
Due at each time expression names, in the time zone zone (UTC by default), six fields as Spring's CronExpression reads them; a time missed while no node fired it is handled as misfire says. The runtime evaluates it: the first slot is the first time after the commit that sets it, and each next one the first time after the slot before it.