We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My runtime is exiting by it, I dont know why, its only When I use ur library
My code
func LaunchCronTasks(port string) error { s := gocron.NewScheduler(time.UTC) if _, err := s.Every(30).Seconds().StartAt(time.Now().Add(10 * time.Second)).Do(func() []error { var errs []error errs = append(errs, myFunction()) return errs }); err != nil { return err } if s.Len() > 0 { s.StartAsync() println("\033[32m" + "[PORT" + port + "] Cron launched with success --> " + utils.IntoString(time.Now()) + "\033[0m") } return nil }
v1.18.0
The text was updated successfully, but these errors were encountered:
@artking28 have you tried the latest version?
Sorry, something went wrong.
Thank u, v1.27 works fine
@JohnRoesler 1.28.0 version - still the same problem. Basically, this is the cause: StartAt(time.Now().Add(10 * time.Second))
StartAt(time.Now().Add(10 * time.Second))
Successfully merging a pull request may close this issue.
Describe the bug
My runtime is exiting by it, I dont know why, its only When I use ur library
My code
Version
v1.18.0
The text was updated successfully, but these errors were encountered: