propellor-2.13.0: property-based host configuration management in haskell

Safe HaskellNone
LanguageHaskell98

Propellor.Property.Scheduled

Synopsis

Documentation

period :: IsProp (Property i) => Property i -> Recurrance -> Property i Source

Makes a Property only be checked every so often.

This uses the description of the Property to keep track of when it was last run.

periodParse :: Property NoInfo -> String -> Property NoInfo Source

Like period, but parse a human-friendly string.

data Recurrance Source

Constructors

Daily 
Weekly (Maybe WeekDay) 
Monthly (Maybe MonthDay) 
Yearly (Maybe YearDay) 
Divisible Int Recurrance

Days, Weeks, or Months of the year evenly divisible by a number. (Divisible Year is years evenly divisible by a number.)