You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
2Not just back in the day. I run most of my large jobs on a server cluster that I ssh into. If I didn't use nohup, I'd need to leave my laptop connected to those machines for days while waiting for the jobs to finish.Ray– Ray2018-01-13 18:14:00 +00:00Commented Jan 13, 2018 at 18:14
-
@Ray what about running them via "at" or as cron jobs?RonJohn– RonJohn2018-01-13 18:46:18 +00:00Commented Jan 13, 2018 at 18:46
-
@RonJohn Sure. Or via a grid engine. I didn't mean to suggest nohup was the only option, just that it is still used for this purpose today.Ray– Ray2018-01-13 19:38:47 +00:00Commented Jan 13, 2018 at 19:38
-
1Maybe your historical remarks are correct. But your conclusions about its present importance are wrong. It is not useful on slow computers but it is useful for long running jobs. These are two different things. You use use 'nohup' to protect your job against the intended or unintended disconnection of your terminal. Even nowadays you are not happy if a jobs aborts because a network error disconnects your terminal and your job is aborted.miracle173– miracle1732018-01-14 10:49:49 +00:00Commented Jan 14, 2018 at 10:49
-
@Ray Cron jobs are completely inappropriate to achieve this. Cronjobs are for periodic tasks, you have to set the environment in the cronjob and consider lot of other things. Maybe 'at' is a little bit easier to handle but nevertheless more complex than nohup.miracle173– miracle1732018-01-14 10:50:08 +00:00Commented Jan 14, 2018 at 10:50
|
Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. command-line), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you