R
RunPod•9mo 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•9mo ago
Graphql api Chek the docs references > graphql api
Rodka
RodkaOP•9mo ago
Gotcha. I'll look into it. There's no way to do this scheduling through the frontend?
nerdylive
nerdylive•9mo ago
I think there's no way yet for that
digigoblin
digigoblin•9mo ago
I think people would abuse it if it was available in the frontend
nerdylive
nerdylive•9mo ago
Haha yeah Popular not abused 😂
Rodka
RodkaOP•9mo 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•9mo ago
Haahaha yeah maybe the api ref isnt that update

Did you find this page helpful?