You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tested gocron to understand its behavior.
I've got obtained a result that I cannot understand.
I reckon that "gocron" Scheduler will be stopped if I assign a value to the channel that obtained from Start() function's return value.
But, jobs still running even if "Scheduler Finished" is executed.
----------------------- Result -----------------------
doing the job: 1
doing the job: 1
doing the job: 1
doing the job: 1
Scheduler Finished
doing the job: 1
doing the job: 1
doing the job: 1
doing the job: 1
doing the job: 1
doing the job: 1
main
The text was updated successfully, but these errors were encountered:
Dear Contributors,
I've tested gocron to understand its behavior.
I've got obtained a result that I cannot understand.
I reckon that "gocron" Scheduler will be stopped if I assign a value to the channel that obtained from Start() function's return value.
But, jobs still running even if "Scheduler Finished" is executed.
What do I have to do to stop the Scheduler?
----------------------- Result -----------------------
doing the job: 1
doing the job: 1
doing the job: 1
doing the job: 1
Scheduler Finished
doing the job: 1
doing the job: 1
doing the job: 1
doing the job: 1
doing the job: 1
doing the job: 1
main
The text was updated successfully, but these errors were encountered: