make .screen folder.
mkdir ~/.screen && chmod 700 ~/.screen
Without this, you might meet an error
Cannot make directory '/var/run/screen': Permission denied
add following command into .bash_profile
make a script file.
#!/bin/bash source .bash_profile screen -dmS jupyter bash -c "jupyter notebook"
Add cron command.
add the following code at the bottom of the file.
How to run screen on a Linux host reporting “Cannot make directory ‘/var/run/screen’: Permission denied”? – SysTutorials QA
I want to run <code>screen</code> on a remote host on which I do not have root/sudo privilege and ... screen on a Linux host...