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

Safe HaskellNone

Propellor.Property.Cron

Synopsis

Documentation

job :: Desc -> CronTimes -> UserName -> FilePath -> String -> PropertySource

Installs a cron job, run as a specificed user, in a particular directory. Note that the Desc must be unique, as it is used for the cron.d/ filename.

niceJob :: Desc -> CronTimes -> UserName -> FilePath -> String -> PropertySource

Installs a cron job, and runs it niced and ioniced.

runPropellor :: CronTimes -> PropertySource

Installs a cron job to run propellor.