监控文件是否更新
摘要:
shell脚本: #! /bin/sh date=$(date +%Y-%m-%d-%H:%M) file_path=/root/airflow/scheduler.logcheck_time=120file_old_stat="`stat ${file_path}|grep Size`"sleep 阅读全文
posted @ 2019-09-02 18:18 锋锋2019 阅读(412) 评论(0) 推荐(0) 编辑