I want to execute function using this crontab library https://github.com/robfig/cron
every day at 12:05PM. This is my current code :
cronHandler.AddFunc("@midnight", func() {
fmt.Println("crontab ping")
}
How i can execute my function using crontab every day at 03:00AM, time zone +2 ? My problem is current function use timezone of my server, and second problem this library not allow to specific specific hour when execute. How i can do this ?