I have a shell script that runs inside of a screen session and loops the script continuously every 10 minutes (never ends). I was wondering how I might initiate the screen session, run the shell script, then detach from it on boot.
I like being able to attach to the screen session to see the output of the script from time to time.
Right now I run this:
Code:screen sh /var/www/scripts/screen.sh ctrl+ad (to detach)