- #!/bin/bash
- PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
- export PATH
- curl -sS --connect-timeout 10 -m 60 https://baidu.com
- echo "----------------------------------------------------------------------------"
- endDate=`date +"%Y-%m-%d %H:%M:%S"`
- echo "★[$endDate] 任务执行成功"
- echo "----------------------------------------------------------------------------"
复制代码
你好,我想每10秒执行一次,请问应该怎么修改他呢 |
|