Commit 8e85ab28 authored by 苗青's avatar 苗青

crontab

parent 21217f73
......@@ -26,6 +26,9 @@ 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
......@@ -48,9 +51,6 @@ if [[ $CLUSTER == "3B" ]]; then
echo "tail -f $log_path/*log"
tail -f $log_path/*log
# 安装 crontab TODO apt or yum
echo "start yum\n"
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