at my university work I have a lot of long running jobs with I usually start with nohup. I'm a bit disappointed by the lack of some features. Things I miss at nohup are:
- Configurable output file name instead of nohup.out
- Some kind of action when the command has returned: Send a mail / XMPP message with the return code and the last few lines of the output
Is there an alternative or could these two things achieved with some shell magic I'm unaware of?
Last edited by Osiris (2013-01-27 21:01:32)
more probably exist.
And a very interesting one reptyr: http://blog.nelhage.com/2011/01/reptyr- … -terminal/ which you could use to grab already running processes from inside screen and then detach them.
Ok, I can see now that I didn't actually read your post. Hope you find the information useful anyways.
Last edited by Ashren (2013-01-27 22:39:01)