Generate, then move.
This commit is contained in:
parent
c35d565302
commit
907af54d73
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
|||
|
||||
- name: cron to generate cache of active component branches for pagure-sync-bugzilla
|
||||
cron: name="export-branches" minute="15" user="apache"
|
||||
job="/usr/local/bin/lock-wrapper export-branches 'python /usr/lib/python2.7/site-packages/pdc/manage.py exportbranches > /var/www/html/extras/active_branches.json'"
|
||||
job="/usr/local/bin/lock-wrapper export-branches 'python /usr/lib/python2.7/site-packages/pdc/manage.py exportbranches > /var/www/html/extras/active_branches.json.tmp; mv /var/www/html/extras/active_branches.json.tmp /var/www/html/extras/active_branches.json'"
|
||||
cron_file=export-branches
|
||||
when: env == 'staging'
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue