R
RunPod3w ago
Dylan

Auto-exit on finish?

Hi all, Is there a way to automagically close a pod after some code has finished running? Thanks!
1 Reply
nerdylive
nerdylive2w ago
yep use the graphql api or run in terminal ( from your program exec) the command
runpodctl pod stop $POD_ID
runpodctl pod stop $POD_ID
Fill in pod id, and check the command from the documentation, im not srue its right but theres command to stop pods
Want results from more Discord servers?
Add your server