I have a shell script that makes a backup of my server files before starting it. However I wish it to instead of just running it open a new screen session and then start it from there. Once its running I want to periodically send commands to it.
Anyone know how to run screen like this?? I have found tons of stuff but very little of it assumes I'm running it from a shell script (instead of just typing it into the terminal window).