mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-01 07:35:58 +08:00
modify dictory
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"OpenIM/internal/tools"
|
||||
"OpenIM/pkg/common/config"
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println(time.Now(), "start cronTask")
|
||||
if err := config.InitConfig(); err != nil {
|
||||
panic(err.Error())
|
||||
}
|
||||
if err := tools.StartCronTask(); err != nil {
|
||||
panic(err.Error())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user