From cc169f4ac0cf8ac6de38662671c14abd419b5f48 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Apr 2014 23:32:42 -0400 Subject: propellor spin --- Propellor/Property/Cron.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Propellor/Property/Cron.hs') 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 -- cgit v1.2.3