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 see a logical issue with combining runImmediately with job.stop().
If a job is set to runImmediately, invoking job.stop in its first run will only affect the second run.
So the job will be executed twice, instead of once.
If a job is set to runImmediately, invoking job.stop in its first run will only affect the second run.
Hi
Your statement is correct, the job will run the task once then stop it won't run twice because after stop it stopped.
Hi, thanks for the reply.
My intention was that it will run twice before stopping.
E.g. the first run will execute the stop but the stop won't work and will thus invoke a second run.
The stop will only prevent the third run.
It only happens with runImmedaitely (as if it invokes an additional task, instead of using the same one)
Hi,
I see a logical issue with combining
runImmediately
withjob.stop()
.If a job is set to
runImmediately
, invokingjob.stop
in its first run will only affect the second run.So the job will be executed twice, instead of once.
Thanks!
The text was updated successfully, but these errors were encountered: