diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-01 20:47:05 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-01 20:47:05 -0400 |
| commit | 1f314984b5f2f9d9a082bc20e825e2e8c8a273d7 (patch) | |
| tree | 4d97b98686daf44957418cb13c52264fa5a576cb | |
| parent | 668cc936e4bd1596fbae4246ac4bacb240383393 (diff) | |
ensure cron is running
| -rw-r--r-- | Propellor/Property/Cron.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Propellor/Property/Cron.hs b/Propellor/Property/Cron.hs index 982d6fec..30bdb510 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. |
