TransWikia.com

google cloud compute SSH service to keep running even the computer is turned off

Server Fault Asked by Naveed Mazhar on January 4, 2021

i am doing a really complex task on my google cloud compute and it really takes days to complete even one task. So i don’t want to close my SSH terminal. The problem is that here i have electric load shedding problem and i cannot afford to loose what i already have done because it will cost me a lot if i restart the program.
My question is, is there anyway that my work or programs continue even though my PC is turned off. I want the console to run as normal and when the light is gone (i don’t know when) it still keeps going and when the light is back i could also look into it that how much is done?

One Answer

I think the current workload is gonna to be hosed unless the program can be ran in the background while it's still running.

Right now you are running in the foreground hence why the SSH session have to be on.

Though there may not be a way to "save it" you could in the future avail something like tmux. Though like I said since it's already been running and is I am not sure if you can attach a tmux session to your active session for it to "switch to".

Correct answer by Rickuku on January 4, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP