Is there any way to pause / unpause jobs through t...
# ask-community
j
Is there any way to pause / unpause jobs through the GraphQL API?
I've tried searching the GraphQL playground docs and couldn't find anything:
There is also this: https://docs.dagster.io/concepts/dagit/graphql-client#submitting-a-job-run But that is for individual job runs. All I want to do is unpause the job after it's loaded into the repository without going through the UI.
Maybe I'm using the wrong term. Whatever this switch is called:
t
Would
stopRunningSchedule
work for you?
Looks like you caught on right before I hit send 😉 Jobs themselves aren't what's "on or off", but rather a schedule can be "on/off" and trigger a job. so you can turn off a schedule to prevent a job from running.
👍 1
j
Great, that appears to be what I'm looking for. Thanks for the immediate response!