Replies: 2 comments 2 replies
-
Hello @madhu72, you would want to stop and serialize the scheduler on shutdown to some persistent storage and then de-serialize on start up of your application and start the scheduler again. Take a look at https://stackoverflow.com/questions/28020070/golang-serialize-and-deserialize-back regarding serializing a go struct. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@JohnRoesler aa the gocron scheduler does not containing exported fields it is not possible to serialize it. Please advice on this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is always possible that, the application needs to restart, what is the possibility that keeps the schedules run across these restarted sessions?
Beta Was this translation helpful? Give feedback.
All reactions