How to start crashAction.cmd

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
Shlip
Posts:10
Joined: Tue May 02, 2017 4:27 pm

How to start crashAction.cmd

Post by Shlip »

Hi All!

I would like to use a crashAction.cmd.


As it is written in the Monitoring of managers chapter,
I put the crashAction.cmd into <wincc_oa_project>/bin folder and also restarted the pmon.

Anytime I stop/kill/restart too often a manager, nothing happens. This script does not start when a manager crashes.

Could you tell me, what else I shall configure to make the crashAction.cmd execute on manager crash?

Thank you in advance!

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: How to start crashAction.cmd

Post by leoknipp »

I have copied the crashAction_sample.cmd located in the bin directory of the WinCC OA installation to the bin directory of the project and renamed it to crashAction.cmd.
For the test I stopped an archive manager and a CTRL manager. In both cases the script was executed.

Best Regards
Leopold Knipp
Senior Support Specialist

Shlip
Posts:10
Joined: Tue May 02, 2017 4:27 pm

Re: How to start crashAction.cmd

Post by Shlip »

Ok, thank you very much!

I tried running different examples with obsolete options of syntax.

Succeeded to run the crashAction.cmd wtih the "msg * "PVSS manager crashed:" %1 %2 %3 %4 %5 %6 %7 %8 %9" as the source code.
Net send function doesn't work for Windows 7 or Windows 10 anymore

3 posts • Page 1 of 1