R
RunPod•6mo ago
Rodka

How to schedule active workers?

e.g., I want 0 active workers from 8pm to 3am, and 1 active worker from 3am to 8pm.
7 Replies
nerdylive
nerdylive•6mo ago
Graphql api Chek the docs references > graphql api
Rodka
RodkaOP•6mo ago
Gotcha. I'll look into it. There's no way to do this scheduling through the frontend?
nerdylive
nerdylive•6mo ago
I think there's no way yet for that
digigoblin
digigoblin•6mo ago
I think people would abuse it if it was available in the frontend
nerdylive
nerdylive•6mo ago
Haha yeah Popular not abused 😂
Rodka
RodkaOP•6mo ago
@nerdylive Might be interesting to point out that the mutation I ended up using for this (saveEndpoint) is not on the GraphQL API reference; I had to dig through the runpod-python code to find it. Also: https://doc.runpod.io/recipes/modify-an-existing-serverless-endpoint
nerdylive
nerdylive•6mo ago
Haahaha yeah maybe the api ref isnt that update
Want results from more Discord servers?
Add your server