Manual:WaitForSlave.php

Details
WaitForSlave.php file is a maintenance script to wait until slave lag goes under a certain value.