Change shell script of xpush script for check wating time