RE: w2k corrective action for service
by Timothy Johnson other posts by this author
Jul 12 2006 11:29AM messages near this date
view in the new Beta List Site
RE: w2k corrective action for service
|
AD-USER module
You don't need the cmd file. Just tell the corrective action to run
perl.exe and put 'D:\scripts\FM_Restart\fmstart.pl' in the command-line
parameters field. Also, make sure you're not using any mapped or
subst'ed drives, since SYSTEM won't have access to them when it runs the
script.
-----Original Message-----
From: perl-win32-admin-bounces@[...].com
[mailto:perl-win32-admin-bounces@[...].com] On Behalf Of
extern.Lars.Oeschey@[...].DE
Sent: Tuesday, July 11, 2006 4:57 AM
To: perl-win32-admin@[...].com
Subject: w2k corrective action for service
Hi,
We have a service that sometimes crsahes, and afterwards a remote
service
also needs to be restarted for connection reasons. That part I have
already
done, so this probably isn't too perl specific.
I have cmd script that cd's to the directory where the perl script is
and
starts it. This cmd script is entered as the corrective action for the
failing service. My perl program would write a log too.
From what I can see, even the cmd script doesn't start (can't see it in
process explorer).
Any idea what could be wrong here?
the cmd looks like this:
D:
cd \scripts\FM_Restart
echo running? > >d:\scripts\fm_restart\batlog.txt
e:\perl\bin\perl.exe D:\scripts\FM_Restart\fmstart.pl
Lars
_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
extern Lars Oeschey
Stephen Carpenter
Timothy Johnson
|