1
0
mirror of https://github.com/Trim21/commandTray.git synced 2020-06-03 18:50:26 +00:00
commandTray/main.go
2020-04-12 21:09:11 +08:00

27 lines
394 B
Go

// Copyright 2011 The Walk Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import (
"log"
)
func main() {
cfg := load()
for _, command := range cfg.Program {
go command.execute()
}
c := buildCron(cfg)
c.Run()
return
}
func check(err error) {
if err != nil {
log.Fatal(err)
}
}