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