07-15-2012, 07:09 AM
I have sprung Connector and have to sit there and watch it, you can do so would restart every 5 minutes the Connector was, that is, the program closes and re-opens
|
Write pliz sourcecode bat file (to restart every 5 min Connector
|
|
07-15-2012, 07:09 AM
I have sprung Connector and have to sit there and watch it, you can do so would restart every 5 minutes the Connector was, that is, the program closes and re-opens
07-16-2012, 04:00 AM
I have gives out a mistake that has taken off, and it would be necessary to press a cancelling that restart to make, can throw off an initial code what to open through another the console and it is better to restart everyone 5 mines (So it will be better)
07-16-2012, 06:24 AM
pliz let the script is ready for insertion into the bat file
07-16-2012, 08:35 AM
Here is a simple batch example: @echo off echo Basic Batch Connector restarter tarttasklist /nh /fi "imagename eq Connector.exe" | find /i "Connector.exe" >nul && ( rem "Connector.exe" found ) || ( echo "Connector.exe" not found start Connector.exe ) timeout /t 200 /nobreak goto start pause
07-16-2012, 09:51 AM
It is I myself wrote, you can then throw the script to connector rebooted, that is opened and closed a new old ... But this only opens a new
07-16-2012, 10:37 AM
It is I myself wrote, you can then throw the script to connector rebooted, that is opened and closed a new old ... But this only opens a new What?your reply does not make sense, first you ask for us to make a restarter, and now you say you made one.
07-16-2012, 10:41 AM
No, this is a bad restart, it just opens every 5 minutes a new console and want to shut down the old and ran a new
07-16-2012, 11:08 AM
The code is good, checks for the process if exists and it it has the status running then it starts a new process, if the process doesnt exist: @echo off echo Starting Connector Restarter tarttasklist /nh /fi "imagename eq Connector.exe" /fi "status eq running" | find /i "Connector.exe" >nul && ( tasklist /nh /v /fi "status eq Not Responding" | find /i "Connector.exe" >nul && ( echo "Connector.exe" crashed taskkill /im Connector.exe /f taskkill /im WerFault.exe /f start Connector.exe )||( echo "Connector.exe" found ) ) || ( echo "Connector.exe" not found start Connector.exe ) timeout /t 200 /nobreak goto start
07-16-2012, 02:49 PM
:10 Connector.exe goto 10
07-28-2012, 07:52 AM
This bat will your Connector or waht ever for a Server Restart by a Crash with Log's I have this bat from Gothic. @ECHO OFF CLS title Connector AUTO Restarter [****** / ***] color 82 echo Started at %TIME% :SERVERLOOP1 echo There cash server was restarted at %TIME% start connector.exe PING 127.0.0.1 -n 2200 > NUL echo --------------------------------------------- TASKKILL /f /IM "connector.exe" goto SERVERLOOP1 :END |
|
« Next Oldest | Next Newest »
|