How to start and stop scheduled jobs? #422
-
I have a system where I would like to schedule one job to run at a fixed interval of time. I would also like to be able to start and stop that job. Currently I am starting the scheduler with I start the job with I stop the job with While this works, I can encounter scenarios where two instances of the job will run at the same time. This happens if I stop the job while it is running and restart it immediately. It appears that the scheduler views the subsequent call to I tried calling |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @dthomas-sensonix i missed this discussion from you. The issue with stopping and restarting the scheduler has been fixed. Please pull the latest. Stop waits for all jobs to finish before returning. |
Beta Was this translation helpful? Give feedback.
Hi @dthomas-sensonix i missed this discussion from you. The issue with stopping and restarting the scheduler has been fixed. Please pull the latest. Stop waits for all jobs to finish before returning.