Update cron.py (#46055)
<!--- Your description here --> The documentation states the use of the "value" attribute for environment variables while this should also be the "job" attribute. +label: docsite_pr
This commit is contained in:
parent
9039002886
commit
6ddfd912dc
1 changed files with 2 additions and 2 deletions
|
@ -157,13 +157,13 @@ EXAMPLES = '''
|
||||||
cron:
|
cron:
|
||||||
name: PATH
|
name: PATH
|
||||||
env: yes
|
env: yes
|
||||||
value: /opt/bin
|
job: /opt/bin
|
||||||
|
|
||||||
- name: Creates an entry like "APP_HOME=/srv/app" and insert it after PATH declaration
|
- name: Creates an entry like "APP_HOME=/srv/app" and insert it after PATH declaration
|
||||||
cron:
|
cron:
|
||||||
name: APP_HOME
|
name: APP_HOME
|
||||||
env: yes
|
env: yes
|
||||||
value: /srv/app
|
job: /srv/app
|
||||||
insertafter: PATH
|
insertafter: PATH
|
||||||
|
|
||||||
- name: Creates a cron file under /etc/cron.d
|
- name: Creates a cron file under /etc/cron.d
|
||||||
|
|
Loading…
Reference in a new issue