From 291ea91144823a1eb86377e13158c08c1333a3b4 Mon Sep 17 00:00:00 2001 From: ouqiang Date: Thu, 23 Mar 2017 13:59:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=8F=A3=E6=96=87=E4=BB=B6=E9=87=8D?= =?UTF-8?q?=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scheduler.go | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 scheduler.go diff --git a/scheduler.go b/scheduler.go deleted file mode 100644 index 8d99511..0000000 --- a/scheduler.go +++ /dev/null @@ -1,28 +0,0 @@ -package main - -/*-------------------------------------------------------- - 定时任务调度 - 兼容Linux crontab时间格式语法,最小粒度可精确到每秒 - 支持通过HTTP、SSH协议触发任务执行 ---------------------------------------------------------*/ - -import ( - "github.com/urfave/cli" - "os" - - "scheduler/cmd" -) - -const AppVersion = "0.0.1" - -func main() { - app := cli.NewApp() - app.Name = "scheduler" - app.Usage = "schedule cron service" - app.Version = AppVersion - app.Commands = []cli.Command{ - cmd.CmdWeb, - } - app.Flags = append(app.Flags, []cli.Flag{}...) - app.Run(os.Args) -}