Last active
December 26, 2018 08:24
-
-
Save tizee/2f5ab4fe5cc09a360b4f7c89ce937925 to your computer and use it in GitHub Desktop.
run jupyer notebook in the background
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nohup jupyter notebook --allow-root > error.log 2>&1 & echo $! > notebook_pid.txt | |
# add --no-browser if run as a jupyter notebook server | |
nohup jupyter notebook --allow-root --no-browser> error.log 2>&1 & echo $! > notebook_pid.txt | |
# reference https://stackoverflow.com/questions/17385794/how-to-get-the-process-id-to-kill-a-nohup-process |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment