feat(cron.env): add env option in cron-formula

This commit is contained in:
Gino Naumann
2019-11-03 18:18:07 +01:00
parent f9c61a9859
commit 12cee12227
2 changed files with 29 additions and 0 deletions
+16
View File
@@ -35,3 +35,19 @@ cron:
minute: '*/5'
hour: '*'
comment: comment4
env:
env1:
type: present # Default
name: PATH
value: /usr/local/bin:/usr/bin:/bin:/usr/games
user: root # Default
env2:
type: absent
name: MAILTO
value: example@example.com # not needed
user: root # Default
env3:
type: absent
name: LANG
value: en_GB.UTF-8
user: root