add cron setting
continuous-integration/drone/push Build is passing

This commit is contained in:
Jay
2021-07-02 17:00:18 +08:00
parent a487ae9019
commit 9b680530d5
6 changed files with 32 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,6 @@ import (
var cfgPath string = "./config.yml"
func main() {
flag.StringVar(&cfgPath, "c", "./config.yml", "config yaml path")
flag.Parse()
@@ -106,6 +105,7 @@ func runService(reload <-chan struct{}) {
if err := stopServer(svc); err != nil {
log.Fatal(err)
}
svc = nil
}
}
}