Closed antoniocapizzi95 closed 3 years ago
@antoniocapizzi95 hey, this repo is no longer maintained (per the note in the readme) - we have a maintained fork over at https://github.com/go-co-op/gocron and recently added support for this exact use! https://github.com/go-co-op/gocron/issues/106
@JohnRoesler thank you very much, I will try this fork.
Hello, I'm using this method to schedule a task:
My aim is to schedule a task every 3 hours from midnight, but it seems that at startup it starts counting from the script execution time. My code is the below:
For example if I run this code at 2:00 AM, I'd like that task starts at 3:00 AM, not at 5:00 AM. Is there a method to do this? Thanks.