gh-ost/resources/hooks-sample/gh-ost-on-success-hook-2

7 lines
331 B
Plaintext
Raw Normal View History

2016-08-25 11:55:34 +00:00
#!/bin/bash
# Sample hook file for gh-ost-on-success
echo "$(date) gh-ost-on-success $GH_OST_DATABASE_NAME.$GH_OST_TABLE_NAME -- this message should show on the gh-ost log"
2016-09-02 08:48:29 +00:00
echo "$(date) gh-ost-on-success copied $GH_OST_COPIED_ROWS rows in $GH_OST_ELAPSED_COPY_SECONDS seconds. Total runtime was $GH_OST_ELAPSED_SECONDS seconds"