propellor spin
This commit is contained in:
parent
ca4cadd931
commit
162df37da4
|
@ -41,6 +41,9 @@ job desc times user cddir command = combineProperties ("cronned " ++ desc)
|
||||||
"root" -> "chronic " ++ shellEscape scriptfile
|
"root" -> "chronic " ++ shellEscape scriptfile
|
||||||
_ -> "chronic su " ++ user ++ " -c " ++ shellEscape scriptfile
|
_ -> "chronic su " ++ user ++ " -c " ++ shellEscape scriptfile
|
||||||
]
|
]
|
||||||
|
, case times of
|
||||||
|
Times _ -> doNothing
|
||||||
|
_ -> cronjobfile `File.mode` combineModes (readModes ++ executeModes)
|
||||||
-- Use a separate script because it makes the cron job name
|
-- Use a separate script because it makes the cron job name
|
||||||
-- prettier in emails, and also allows running the job manually.
|
-- prettier in emails, and also allows running the job manually.
|
||||||
, scriptfile `File.hasContent`
|
, scriptfile `File.hasContent`
|
||||||
|
|
Loading…
Reference in New Issue