#!/bin/sh a_url="http://www.test.com/Crontab/test.html" http="http://www.test.com" result=$(echo $a_url | grep "${http}") file_name="`date +%Y%m%d`.txt" echo -e "====start_time: `date +%Y%m%d`_`date +%H%M%S`====\n" >> $file_name while [[ "$result" != "" ]] do echo "get_u...

阅读全文>>