From c42412c7da9e0666d373441988f568827f02c2f3 Mon Sep 17 00:00:00 2001 From: ascrutae Date: Fri, 27 May 2016 11:45:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9crontab=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BUILD_DOC.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD_DOC.md b/BUILD_DOC.md index d1f9dfaa9..b54487061 100644 --- a/BUILD_DOC.md +++ b/BUILD_DOC.md @@ -190,7 +190,9 @@ $mvn package -Dmaven.test.skip=true - 创建crontab并运行脚本. Create crontab and run the command. ``` ->./start-analysis.sh +> crontab -e +# 此处为每20分钟执行start-analysis.sh脚本. Executed start-analysis script every 20 minutes +*/20 * * * * start-analysis.sh ``` - 查看日志. tail the log