统一任务调度平台 for golang
1、pre
-
install golang env
2、install
-
go get github.com/astaxie/beego
-
go get github.com/shotdog/scheduler
-
go get github.com/shotdog/quartz
-
go get github.com/go-sql-driver/mysql
-
init db scheduler.sql
-
modify conf/app.conf -->database config
3、run
-
cd $GOPATH
-
cd src
-
cd scheduler
-
go build main.go
-
./main
4、Screenshot
5、Protocol
- see invoker.go
6、Client Test
-
see scheduler-client
- cd scheduler-client
- go build main.go
- ./main