diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-17 23:32:42 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-17 23:32:42 -0400 |
| commit | cc169f4ac0cf8ac6de38662671c14abd419b5f48 (patch) | |
| tree | 257b417446ad9e639030da07d14fe87912f3803a /Propellor/Property/Cron.hs | |
| parent | fd0cfda04c7b0cbd0fdb868ef92e1923481a856c (diff) | |
propellor spin
Diffstat (limited to 'Propellor/Property/Cron.hs')
| -rw-r--r-- | Propellor/Property/Cron.hs | 2 |
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 |
