Re: [newbie] Running program through SSH
- Original Message - From: HaywireMac [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 02:32 Subject: Re: [newbie] Running program through SSH On Wed, 10 Sep 2003 12:54:07 +0800 Stormjumper [EMAIL PROTECTED] uttered: er, joe, actually it doesn't. does condition testing sends it to the background, but kills the app when term is closed. nohup doesn't kill the app, but takes over the console, ie you can't do anything else on that terminal the correct syntax is prolly nohup ./setiathome alternatively you can run install and run screen, and run setiathome in a screen terminal Thank you for correcting me sir, may I have another! Oops. I'll write it down this time so's I don't ferget... :-\ Sorry for any inconvenience I may have caused in this matter. wow, wat's w the formal langange. Sir, may i and Sorry for inconvenience??? whatever drug u're on, i think i wan some for my kid brother... Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Running program through SSH
- Original Message - From: HaywireMac [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 09:57 Subject: Re: [newbie] Running program through SSH On Tue, 9 Sep 2003 08:45:52 +0700 Fajar Priyanto [EMAIL PROTECTED] uttered: I type this to run setiathome: ./setiathome I think you want to do ./setiathome Shouldn't kill the app when you close the term. If not, try , that oughta do it. er, joe, actually it doesn't. does condition testing sends it to the background, but kills the app when term is closed. nohup doesn't kill the app, but takes over the console, ie you can't do anything else on that terminal the correct syntax is prolly nohup ./setiathome alternatively you can run install and run screen, and run setiathome in a screen terminal Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Running program through SSH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, Can we run a program by SSH and keep it running even after we close the SSH's session? I want to run setiathome on my remote server, but it seems that the program dies everytime I close the connection. I type this to run setiathome: ./setiathome Thanks, Fajar. - -- Linux mdk91.sistek.kom 2.4.21-0.13mdk GNU/Linux 08:42:18 up 1:13, 9 users, load average: 1.42, 1.40, 1.33 [War] is instinctive. But the instinct can be fought. We're human beings with the blood of a million savage years on our hands! But we can stop it. We can admit that we're killers ... but we're not going to kill today. That's all it takes! Knowing that we're not going to kill today! -- Kirk, A Taste of Armageddon, stardate 3193.0 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/XTDSUrYxG8KGMVERAnGRAKCunkDUM5bZH4BtIkQ2z+64qg9I9gCgtCUt MRxFbwOGcW8WLzm8oQBh+a4= =GyrA -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Running program through SSH
Hi Fajar, the answer of your question is yes. One of the method is you can run it with crontab. Or another thing if setiathome could be treated as a service, you can use chkconfig. Fajar Priyanto wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, Can we run a program by SSH and keep it running even after we close the SSH's session? I want to run setiathome on my remote server, but it seems that the program dies everytime I close the connection. I type this to run setiathome: ./setiathome Thanks, Fajar. - -- Linux mdk91.sistek.kom 2.4.21-0.13mdk GNU/Linux 08:42:18 up 1:13, 9 users, load average: 1.42, 1.40, 1.33 [War] is instinctive. But the instinct can be fought. We're human beings with the blood of a million savage years on our hands! But we can stop it. We can admit that we're killers ... but we're not going to kill today. That's all it takes! Knowing that we're not going to kill today! -- Kirk, "A Taste of Armageddon", stardate 3193.0 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/XTDSUrYxG8KGMVERAnGRAKCunkDUM5bZH4BtIkQ2z+64qg9I9gCgtCUt MRxFbwOGcW8WLzm8oQBh+a4= =GyrA -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com * # NOTICE # Email sent by MERATUS user is strictly confidential. If it is not intended to you, please delete it immediately. This communication is not guaranteed free of viruses, sabotage or interception and any parties involve in the communication shall accept the risk of doing so. As such, MERATUS and its group are not eligible for such liability. Under no circumstances shall this email binding into agreement of carriage services by MERATUS. Terms and conditions of MERATUS are also available at http://www.meratusline.com. *
Re: [newbie] Running program through SSH
On Tue, 9 Sep 2003 08:45:52 +0700 Fajar Priyanto [EMAIL PROTECTED] uttered: I type this to run setiathome: ./setiathome I think you want to do ./setiathome Shouldn't kill the app when you close the term. If not, try , that oughta do it. -- HaywireMac Registered Linux user #282046 Homepage: nodex.sytes.net ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ If you are not for yourself, who will be for you? If you are for yourself, then what are you? If not now, when? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Running program through SSH
HaywireMac wrote: On Tue, 9 Sep 2003 08:45:52 +0700 Fajar Priyanto [EMAIL PROTECTED] uttered: I type this to run setiathome: ./setiathome I think you want to do ./setiathome Shouldn't kill the app when you close the term. If not, try , that oughta do it. I think also nohup ./setiathome will do it Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com