People at our department are often running jobs that take multiple days to complete. A good way to keep a job going is to use the screen tool. This allows one to keep running a shell even when not connected to the machine for a while, and to reconnect to that session when you login on the machine once more. Simple, lean and mean.