pps.sh: add time interval option