This PR exposes a stopTime when creating a job so that the job cannot be executed once the stopTime is reached.
Which issue(s) does this PR fix/relate to?
Resolves #654
List any changes that modify/break current functionality
Have you included tests for your changes?
Yes I created several test cases in scheduler_test.go regarding job creation with stopTime specified and also the expected behavior when stopTime is reached.
What does this do?
This PR exposes a
stopTime
when creating a job so that the job cannot be executed once thestopTime
is reached.Which issue(s) does this PR fix/relate to?
Resolves #654
List any changes that modify/break current functionality
Have you included tests for your changes?
Yes I created several test cases in
scheduler_test.go
regarding job creation withstopTime
specified and also the expected behavior whenstopTime
is reached.Did you document any new/modified functionality?
example_test.go
README.md
Notes