cronic

package cronic

Members list

Concise view

Type members

Classlikes

case class Filter(start: Int, stop: Int, step: Int)

A component of a schedule's field

A component of a schedule's field

n => Comp(n, n, 0) n..m => Comp(n, m, 1) n/s => Comp(n, -1, s) n..m/s => Comp(n, m, s)

Invariants:

  • min < start < max
  • stop < max
  • step >= 0

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Schedule(yearFilter: List[Filter], monthFilter: List[Filter], dayFilter: List[Filter], hourFilter: List[Filter], minuteFilter: List[Filter], secondFilter: List[Filter], dayOfWeekBitset: Int)

Specification of a recurring event, based on set of date and time filters.

Specification of a recurring event, based on set of date and time filters.

A schedule is considered to happen at a point in time when all its filters are satisfied.

Schedules work up to a precision of seconds.

Notes:

  • an empty filter is equivalent to '*' in cron
  • contrary to POSIX cron, if weekday and day are set then both must be fulfilled

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Schedule

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type