Commit 85139e3a authored by 苗青's avatar 苗青

crontab

parent 8e85ab28
......@@ -26,9 +26,6 @@ if [[ $CLUSTER == "3B" ]]; then
fi
sleep 1
done
# 安装 crontab TODO apt or yum
yum install -y crontabs
# 安装filebeat
PULL_TAR=http://192.168.3.60/QA/qg-docker-entrypoints/raw/master/other/filebeat/filebeat.tgz
......@@ -51,6 +48,8 @@ if [[ $CLUSTER == "3B" ]]; then
echo "tail -f $log_path/*log"
tail -f $log_path/*log
# 安装 crontab TODO apt or yum
/bin/yum install -y crontabs
# 定时删除日志
deleteLogs()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment