gh-ost/resources/hooks-sample/gh-ost-on-failure-hook

6 lines
179 B
Plaintext
Raw Permalink Normal View History

2016-08-25 11:55:34 +00:00
#!/bin/bash
# Sample hook file for gh-ost-on-failure
echo "$(date) gh-ost-on-failure $GH_OST_DATABASE_NAME.$GH_OST_TABLE_NAME; ghost: $GH_OST_OLD_TABLE_NAME" >> /tmp/gh-ost.log