-
Notifications
You must be signed in to change notification settings - Fork 411
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
JobStart and JobEnd events not firing for every job when schedules are chained #96
Comments
I can reproduce alright, flagging it as a bug. |
I had a quick look at fixing this but as the jobs are stored as actions we lose the ability to get a name out of them. Did you have any thoughts on how you wanted to tackle this? |
I rushed to check if it was reproducible and to give the issue a label and ended up not realizing where the problem lies. My mistake. Giving a second thought, this issue is more on the "it's not a bug, it's a feature" side of things. The real problem lies on the event names: it should be Even the That being said, raising an "actual" job start and job end for each schedule's job shouldn't be hard to implement, the start event should be raised right before this block and the stop event right after. The "ability to get a name out of them" is not a problem either. You have a name in the schedule event because the library stores a name for each schedule (if you don't assign one with I'm relabeling this issue as "feature change" to remind me of both renaming "Job" for "Schedule" where it's appropriate and to implement actual job start/end events (not schedule). |
|
I'm logging when my jobs start and stop like this:
When jobs are scheduled individually this works fine:
Output:
When jobs are scheduled in a chain, only the first job is reported.
Output:
The text was updated successfully, but these errors were encountered: