mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
15 lines
195 B
Go
15 lines
195 B
Go
package main
|
|
|
|
import (
|
|
"Open_IM/internal/task"
|
|
"fmt"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
fmt.Println(time.Now(), "start cronTask")
|
|
if err := task.StartCronTask(); err != nil {
|
|
panic(err.Error())
|
|
}
|
|
}
|