R
RunPod4mo 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
nerdylive4mo 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

Did you find this page helpful?