i am running a php file that takes up to 2-4 hours to run, and because my internet is so bad i will need to run it inside a linux server (screen). My question is: How can i run php file inside screen with using "GET", because when i use parameters…
Is it possible to configure my CentOS VPS to continually check to make sure that a php script is running? Currently I'm using the screen php method which works fine, but if it gets terminated somehow, how can I start it backup?
I tried adding the…
When I have a SSH session in GNU Screen to another machine on which I'm also using GNU Screen, 256 colors don't seem to work. The $TERM is still set correctly. However, if I run Vim, the theme does not look correct as it would with only one screen…
Using CentOS 5, I have a screen session running and I often reattach to it after a day or two with the usual:
screen -r
The session reattaches fine, and runs fine (I can see output from ongoing processes happening in the background) but…
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…
I have set up hosts.allow on the remote Arch Linux server as follows:
sshd: ALL: ALLOW
while hosts.deny is set to:
ALL: ALL
I have no problems using SSH through Cygwin (with a Corkscrew tunnel through a proxy server). When I open screen in Cygwin…
I have my personal stuff hosted with a company that uses cpanel. It seems that a "feature" of cpanel is that the hosting company can use their "jailshell" when granting (terminal, not goofy AJAX faked) SSH access. Unfortunately you do not have…
I want to keep a screen or tmux session running forever on a Ubuntu server, possibly for running a Clojure web server application so I can tap into the process via REPL at any time. Gnu screen or tmux -- which is less prone to crash?
I am using screen with irssi, ssh to some servers. At the moment I have 4 windows "open" in my screen.
Two of those windows is "dead".
I can't write something in those, for example.
How do I "exit" a screen window?
Currently, when I enter ^a : (control-A followed by ':') to send a command to GNU screen, I can go back one step in the history, and see exactly ONE previous command. This is really annoying, as I'm used to being able to go back thousands of steps…
I'm running screen with the following command:
screen -dms -X buildscript.py
This executes the buildscript.py file and runs it as a daemon. Now, when the build script fails, screen automatically terminates (and I don't get to see the error…
I'm running a Fedora 12 x86-64 OpenVZ VPS and screen is using lots of virtual memory (98000+). I've also noticed that the UTMP file grows enormous over time:
[root@demon~]$ date
Wed Sep 8 22:02:58 EST 2010
[root@demon~]$ ls -la…
I'd like to configure screen to only allow attaching to detached sessions and not to attached sessions, even if they're from the same user.
Is there a way to accomplish this? I couldn't find anything in the documentation and on the Internet, and the…
I have set up an automatic logout for idle ssh session using "ClientAliveInterval 7200"
However I do not get logged out everyone else who uses the server gets logged fine.
I have tracked the trouble maker down to this line in my personal…
Im creating a script that i am executing every night at 03.00 that will kill all screens that has been running longer than 3 weeks.
anyone done anything similar that can help? If you got a script or suggestion to a better method please help by…