diff options
| author | Joey Hess <joey@kitenet.net> | 2014-07-17 15:33:02 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-07-17 15:33:02 -0400 |
| commit | 79f1a6c67b72b695b23db69aaa606dc79c313d86 (patch) | |
| tree | 4474cd3c868d13839c90743ad70593bc243a71bc /src/Propellor/Property/Cron.hs | |
| parent | ebb7353f49249967c219ed2aaffd9be8be70e6b8 (diff) | |
propellor spin
Diffstat (limited to 'src/Propellor/Property/Cron.hs')
| -rw-r--r-- | src/Propellor/Property/Cron.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Cron.hs b/src/Propellor/Property/Cron.hs index 5b070eff..d7138e3b 100644 --- a/src/Propellor/Property/Cron.hs +++ b/src/Propellor/Property/Cron.hs @@ -42,7 +42,7 @@ job desc times user cddir command = cronjobfile `File.hasContent` -- | Installs a cron job, and runs it niced and ioniced. niceJob :: Desc -> CronTimes -> UserName -> FilePath -> String -> Property niceJob desc times user cddir command = job desc times user cddir - ("nice ionice -c 3 " ++ command) + ("nice ionice -c 3 sh -c " ++ shellEscape command) -- | Installs a cron job to run propellor. runPropellor :: CronTimes -> Property |
