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
Add next_start option to alter_job_schedule #1479
Add next_start option to alter_job_schedule #1479
Conversation
30e0f30
to
5b43f58
Compare
Codecov Report
@@ Coverage Diff @@
## master #1479 +/- ##
=========================================
- Coverage 90% 81.4% -8.61%
=========================================
Files 116 116
Lines 17495 16934 -561
=========================================
- Hits 15747 13785 -1962
- Misses 1748 3149 +1401
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me, but I think it'd be good if Josh looked at it briefly.
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER | ||
--not changing the interval doesn't change the next_start | ||
select * from alter_job_schedule(:job_id, schedule_interval=>'20 min'); | ||
WARNING: Timescale License expired |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably shouldn't check license expiration on calls of this function if we've taken it out of enterprise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but not sure if that's true/if we do it elsewhere...
Add the option to set the next start time on a job in the alter job schedule function. This also adds the ability to pause jobs by setting next_start to 'infinity' Also fix the enterprise licence check to only activate for enterprise jobs.
5b43f58
to
e0cc70e
Compare
Add the option to set the next start time on a job in the
alter job schedule function. This also adds the ability
to pause jobs by setting next_start to 'infinity'
Also fix the enterprise licence check to only activate for
enterprise jobs.