summaryrefslogtreecommitdiff
path: root/Propellor/Property/Cron.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-17 23:32:42 -0400
committerJoey Hess2014-04-17 23:32:42 -0400
commitcc169f4ac0cf8ac6de38662671c14abd419b5f48 (patch)
tree257b417446ad9e639030da07d14fe87912f3803a /Propellor/Property/Cron.hs
parentfd0cfda04c7b0cbd0fdb868ef92e1923481a856c (diff)
propellor spin
Diffstat (limited to 'Propellor/Property/Cron.hs')
-rw-r--r--Propellor/Property/Cron.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/Property/Cron.hs b/Propellor/Property/Cron.hs
index 0649ee9f..5b070eff 100644
--- a/Propellor/Property/Cron.hs
+++ b/Propellor/Property/Cron.hs
@@ -33,7 +33,7 @@ job desc times user cddir command = cronjobfile `File.hasContent`
`requires` Apt.installed ["util-linux", "moreutils"]
`describe` ("cronned " ++ desc)
where
- cmdline = "cd " ++ cddir ++ " && " ++ command
+ cmdline = "cd " ++ cddir ++ " && ( " ++ command ++ " )"
cronjobfile = "/etc/cron.d/" ++ map sanitize desc
sanitize c
| isAlphaNum c = c