#Advanced SSH add-on. VERY long command running. Will it stop if my browser closes?

1 messages · Page 1 of 1 (latest)

sacred pelican
#

I'm running a very long migration via the add-on. It might take more than a day. I'm afraid my PC will go to sleep, or browser will hibernate the tab, or something will happen.

If I move to another HA location (ie automations), will the ssh command keep running as long as the add-on is running?

dense aurora
#

if you ssh into the addon from another machine and don't rely on the browser, it can take as long as you want

balmy osprey
#

Try it out using sleep, e.g. sleep 1h

dense aurora
#

things you that you launch from automations and such via shell_command will terminate after 60s

balmy osprey
sacred pelican
#

nono, it's a one time thing I've ran manually from the SSH add-on. I honestly don't know much about these things.

dense aurora
#

well, you don't have to let the client disconnect. But you can also start it with nohup

balmy osprey
#

@sacred pelican what are you trying to do in the first place?

sacred pelican
#

it's importing 150000 photos into my immich library

sacred pelican
#

the command is already running

sacred pelican
#

so... what happens if I move away from the terminal in my browser?

#

I took the risk and moved away