Jobs list is not maintained properly #524
ravin-accelq
started this conversation in
General
Replies: 1 comment
-
From the docs:
The key comment:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
job, err := Scheduler.Every(1).Millisecond().LimitRunsTo(1).Tag(tag).Do(task)
I got this code to trigger my child jobs only once. Then I use below function to track my active jobs. Seems like the Jobs list is empty since the LimitToRun is set to 1.
Can I get a function where I can track all the active jobs via tags, even though they are scheduled to run only once.
Even
FindJobsByTag
behaves the same way, immediately removing it from list.Ideally should it not track the jobs under Scheduler and jobs under Executor?
Beta Was this translation helpful? Give feedback.
All reactions