Server Management - Systems Insight Manager
1833875 Members
1773 Online
110063 Solutions
New Discussion

Re: custom command batch won't run

 
H.Y. Yiu
Frequent Advisor

custom command batch won't run

Running clean install SIMv5SP4 windows 2000:
I've defined a simple batch command as custom command. However, when I tested it (target on 1 test server - run now), I got 'Fixed' is not recognized... in Stderr as if the command 'Fixed' is passed to the command processor. I also got the 'NOTICE_TYPE' is not recognized... in other tests. I can't get the batch running.
3 REPLIES 3
Scott Robey
Frequent Advisor

Re: custom command batch won't run

Try scheduling it to run. I believe there is an issue with SIM 5.0 SP3 and SP4 where a 'run now' option leaves the execute time as null causing problems.
Let us know.
H.Y. Yiu
Frequent Advisor

Re: custom command batch won't run

Simple batches aren't that simple. By running it stand-alone I've got it fixed.
Because I parse the Sim env.var %NOTICERAWDATA% into other env.vars, I somehow *leaked* env.vars into the command line. After clearing up the batch, it runs as expected.
H.Y. Yiu
Frequent Advisor

Re: custom command batch won't run

thanks for the reply