chore: Added telegram config in .env.example
This commit is contained in:
@ -16,6 +16,8 @@ func main() {
|
||||
log.Fatalln("Unable to connect to telegram", err)
|
||||
}
|
||||
|
||||
log.Printf("Tracking schedule for week %s, group %s\n", config.AppConfig.Schedule.StartDate, config.AppConfig.Schedule.GroupId)
|
||||
|
||||
c := cron.New(cron.WithSeconds())
|
||||
c.AddFunc(config.AppConfig.CronPattern, schedule.PollSchedule)
|
||||
c.Run()
|
||||
|
||||
Reference in New Issue
Block a user