一.脚本内容
**没有啥说的,原理很简单,直接上脚本 **
#########################################################################
# File Name: test1.sh
# Author:Superjay09
# mail: xxxxxxxxxxx@qq.com
# Created Time: 2019-12-19
#########################################################################
#!/bin/bash
WORKDIR=$(cd $(dirname $0);pwd)
BEGIN=$(date +%s)
if [ -f "$WORKDIR/check_status" ] || [ -f "$WORKDIR/check_status_error" ];then
rm -rf $WORKDIR/check_status $WORKDIR/check_status_error
touch $WORKDIR/check_status $WORKDIR/check_status_error
fi
function seturl(){
URL_LINE_TIME=$(cat $1 | grep -v -n "