mirror of
https://github.com/saltstack-formulas/cron-formula.git
synced 2026-07-23 14:19:13 +02:00
feat(cron.env): add env option in cron-formula
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user