-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
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
[BUG] - job.NextRub and job.LastRun not immediately available inside the job when the job begins #690
Labels
bug
Something isn't working
Comments
2 tasks
Hey @daviesluke i'm not able to reproduce this. Running the same code you provided: I get
|
Yes I also receive intermittent results
|
I believe this is solved by #699 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a job begins and a call is made to the NextRun or LastRun function inside the job function being executed then if it is requested too quickly within the job code then get the error -> "gocron: job not found"
To Reproduce
Steps to reproduce the behavior:
Here is some test code to reproduce the data
This is the output received
Version
V2.5.2
Expected behavior
Expected to be able to examine NextRun and LastRun output immediately on job start
Additional context
None
The text was updated successfully, but these errors were encountered: