I'm using phpseclib
to run a shell script on my server at a given interval. That script involves using nohup
. For whatever reason, if there isn't a user ready to send SIGINT or a return to nohup
once it's launched, it kills the process.
For instance, if I run the script via a local prompt it runs, then all I have to do is hit enter and I get a new cmd prompt. When I try and run it automatedly, I can't pass the return or a SIGINT and the process never finishes. Ideas?
nohup
with GNUscreen
? What function doesnohup
provide that can't be provided byscreen
?