I need to launch a job remotely from a Windows machine on a CentOS box, the caveat is that I can't maintain a connection once I have initiated the job. Anyone got an idea how I can accomplish this? Thanks! jlc
Try using screen?> -----Original Message----- > From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of Joseph L. Casale > Sent: Monday, March 17, 2008 5:14 PM > To: 'centos at centos.org' > Subject: [CentOS] remote command execution > > I need to launch a job remotely from a Windows machine on a > CentOS box, the caveat is that I can't maintain a connection > once I have initiated the job. Anyone got an idea how I can > accomplish this? > > Thanks! > jlc > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Joseph L. Casale wrote:> I need to launch a job remotely from a Windows machine on a CentOS box, the caveat is that I can't maintain a connection once I have initiated the job. Anyone got an idea how I can accomplish this? > > Thanks! > jlcwinscp http://winscp.net -- Kari Salovaara Hanko, Finland
Use rsh and in the remote command preface it with stty -nohup, like such: C:\rsh <host> "stty -nohup;<command>" This will tell the command to disassociate from the shell. -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: 'centos at centos.org' <centos at centos.org> Sent: Mon Mar 17 18:13:48 2008 Subject: [CentOS] remote command execution I need to launch a job remotely from a Windows machine on a CentOS box, the caveat is that I can't maintain a connection once I have initiated the job. Anyone got an idea how I can accomplish this? Thanks! jlc _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080317/14a410c7/attachment-0002.html>
I got the BSD and negate forms mixed up and forgot the &. C:\rsh host "stty -hup; command&" -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: centos at centos.org <centos at centos.org> Sent: Mon Mar 17 18:27:58 2008 Subject: Re: [CentOS] remote command execution Use rsh and in the remote command preface it with stty -nohup, like such: C:\rsh <host> "stty -nohup;<command>" This will tell the command to disassociate from the shell. -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: 'centos at centos.org' <centos at centos.org> Sent: Mon Mar 17 18:13:48 2008 Subject: [CentOS] remote command execution I need to launch a job remotely from a Windows machine on a CentOS box, the caveat is that I can't maintain a connection once I have initiated the job. Anyone got an idea how I can accomplish this? Thanks! jlc _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos ________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080317/fae353b4/attachment-0002.html>
I'm wrong! Uh! Take that mister know-it-all. Check out: http://www.faqs.org/faqs/unix-faq/faq/part3/section-2.html (God I've got some issues) -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: centos at centos.org <centos at centos.org> Sent: Mon Mar 17 18:39:07 2008 Subject: Re: [CentOS] remote command execution I got the BSD and negate forms mixed up and forgot the &. C:\rsh host "stty -hup; command&" -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: centos at centos.org <centos at centos.org> Sent: Mon Mar 17 18:27:58 2008 Subject: Re: [CentOS] remote command execution Use rsh and in the remote command preface it with stty -nohup, like such: C:\rsh <host> "stty -nohup;<command>" This will tell the command to disassociate from the shell. -Ross ----- Original Message ----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: 'centos at centos.org' <centos at centos.org> Sent: Mon Mar 17 18:13:48 2008 Subject: [CentOS] remote command execution I need to launch a job remotely from a Windows machine on a CentOS box, the caveat is that I can't maintain a connection once I have initiated the job. Anyone got an idea how I can accomplish this? Thanks! jlc _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos ________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. ________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080317/317a7001/attachment-0002.html>
>I'm wrong! Uh! Take that mister know-it-all. > >Check out: > >http://www.faqs.org/faqs/unix-faq/faq/part3/section-2.html > >(God I've got some issues) > >-RossHeh, I see the example for sh and I am note to sure exactly what it's doing but I will give it a try! That looks most promising as Win2k3 has an rsh client which keeps me safe for not installing any third party ware on the client that needs to initiate the command. Thanks! jlc