diff --git a/Propellor/Property/Cron.hs b/Propellor/Property/Cron.hs index 982d6fe..30bdb51 100644 --- a/Propellor/Property/Cron.hs +++ b/Propellor/Property/Cron.hs @@ -19,6 +19,7 @@ job desc times user cddir command = ("/etc/cron.d/" ++ desc) `File.hasContent` , times ++ "\t" ++ user ++ "\t" ++ "cd " ++ cddir ++ " && " ++ command ] `requires` Apt.installed ["cron"] + `requires` serviceRunning "cron" `describe` ("cronned " ++ desc) -- | Installs a cron job, and runs it niced and ioniced.