Advertisement
dcuddihy-acr-me

kewr.acr.lan.issue-83

Apr 5th, 2014
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. #
  2. # [Issue 83](https://bitbucket.org/autonomy/knyc.acr.lab/issue/83 )
  3. #
  4. set -x
  5. set -e
  6.  
  7. echo "Started: " $(date)
  8.  
  9. source /etc/portion.env
  10. source /etc/profile.d/runtime-context.sh
  11.  
  12. echo $RUNTIME_CONTEXT
  13. echo $PYTHONPATH
  14.  
  15. curl -L "https://www.dropbox.com/s/28i2pvz3i9be61g/acr-scorecard-forecast-input.xls" > /opt/data/in/me.acr/dda/20140405/acr-scorecard-forecast-input.xls
  16.  
  17. #
  18. # Generate all currency scorecard outputs.
  19. #
  20.  
  21. # Get latest ACR Forecasts from Google-Docs.
  22. /opt/bbginger/current/bin/prepare-acr-forecasts.py
  23. /opt/bbginger/current/bin/harvest-acr-forecasts.py
  24.  
  25. # Create reports.
  26. /opt/bbginger/current/bin/scorecard-make-input-report.py &
  27. /opt/bbginger/current/bin/scorecard-make-diffs-report.py &
  28. /opt/bbginger/current/bin/scorecard-make-hist-csvs.py &
  29. /opt/bbginger/current/bin/scorecard-make-pdf.sh &
  30.  
  31. # Wait for all child-processes to terminate.
  32. wait
  33.  
  34. # Update latest output symlink
  35. /opt/bbginger/current/bin/scorecard-update-output-symlink.py
  36. echo "Finished: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement