From 7e68ed9b6096b55c6b24a55bd94861c7bce6e291 Mon Sep 17 00:00:00 2001 From: ouqiang Date: Sat, 27 May 2017 13:33:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3611b0b..f2e6faa 100644 --- a/README.md +++ b/README.md @@ -48,15 +48,15 @@ * Windows: `gocron.exe web` * Linux、Mac OS: `./gocron web` * 任务执行器启动 - * Windows: `gocron-node.exe ip:port` - * Linux、Mac OS: `./gocron-node ip:port` + * Windows: `gocron-node.exe ip:port (默认0.0.0.0:5921)` + * Linux、Mac OS: `./gocron-node ip:port (默认0.0.0.0:5921)` 4. 浏览器访问 http://localhost:5920 ### 源码安装 1. `go`语言版本1.7+ 2. `go get -d github.com/ouqiang/gocron` 3. 编译 - * 调度器 `go build -tags gocron` - * 任务执行器 `go build -tags node` + * 调度器 `go build -tags gocron -o gocron` + * 任务执行器 `go build -tags node -o gocron-node` 4. 启动、访问方式同上 ### 命令