Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Repair staging events that got spammed by issu-105.
- # (These events match the IDs of the spammed events, but have their
- # contents taken from staging. The number of events fetched from
- # staging matches so we can assume that this script restores all
- # spammed events)
- set -x
- echo "Started: " $(date)
- source /etc/portion.env
- source /etc/profile.d/runtime-context.sh
- echo $RUNTIME_CONTEXT
- echo $PYTHONPATH
- export PATH=$PATH:/opt/bbthyme/current/bin
- curl "https://dl.dropboxusercontent.com/s/iqhrn88onhcie8m/prod-events.xml?dl=1&token_hash=AAFD3azqWzATcYjEDaVEZjZKRL_jym8LFhkDsnN3bt1d9Q" | tx-post-deal-events
- echo "Finished: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement