update cron version
This commit is contained in:
parent
a58ae1d571
commit
3734239446
4
cron.go
4
cron.go
@ -1,8 +1,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/robfig/cron/v3"
|
//"github.com/robfig/cron/v3"
|
||||||
//"gopkg.in/robfig/cron.v3"
|
"gopkg.in/robfig/cron.v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
func startCron() *Cron {
|
func startCron() *Cron {
|
||||||
|
3
main.go
3
main.go
@ -9,8 +9,9 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/robfig/cron/v3"
|
|
||||||
"gopkg.in/gcfg.v1"
|
"gopkg.in/gcfg.v1"
|
||||||
|
//"github.com/robfig/cron/v3"
|
||||||
|
"gopkg.in/robfig/cron.v3"
|
||||||
|
|
||||||
_ "github.com/go-sql-driver/mysql"
|
_ "github.com/go-sql-driver/mysql"
|
||||||
tb "gopkg.in/tucnak/telebot.v2"
|
tb "gopkg.in/tucnak/telebot.v2"
|
||||||
|
Loading…
Reference in New Issue
Block a user