RunRmtCmd should work. You need to do a "net start [servicename]"
I've also used Aaron Bartell's RPG2DeskTop utility to kick off jobs on a Win PC.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Tuesday, June 07, 2011 9:48 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Network task
John,
By "nudged" it sounds like you want to restart the service. I forget what
it's called on Windows systems, but would something like RUNRMTCMD work for
you?
Jerry C. Adams
IBM i Programmer/Analyst
"I've had a perfectly wonderful evening. But this wasn't it." -Groucho Marx
--
A&K Wholesale
Murfreesboro, TN
615-867-5070
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of jmmckee
Sent: Tuesday, June 07, 2011 10:56 AM
To: Midrange Systems Technical Discussion
Subject: Network task
From a DOS command line, I can perform some simple tasks on another
computer. One, for example, is net time \\computername
Is there a way of doing this on the i?
We have a service on a Windows server that needs to be nudged at apparently
random intervals. On that specific server, a service is stopped and
restarted. We have a program on the i that can indicate whether the remote
computer service needs to be nudged. What I would like to do is have that
program be able to do that nudging. But, that appears to be based on
understanding what happens when a net time \\computername is performed. Is
that command using a networking function that the i does not have?
John McKee
As an Amazon Associate we earn from qualifying purchases.