The cron does not run if the function has a argument.
mahdirazaqi opened this issue · comments
Mahdi Razaqi commented
example:
func test(names ...string) {
fmt.Println(names)
}
func main() {
gocron.Every(1).Day().At("12:00").Do(test)
}
The cron does not work, why??? :/
Help me, plz.