I have a running job in a ssh terminal on an external server. I can pause it with
CTRL + Z and resume it with
fg. But I would like to pause it, run screen
screen -S my_job and get it back in front with
fg. It does not work.
Is there a way to do something like this?
The reason is that my job is running quite a long time (1 month) and will run for two more months. If my desktop computer dies because of a blackout, my job will be killed.