Get the App
SLTechnology News&Howtos  ›  Servers  › 

Flush transmit automatic restart script

Shulou Source: shulou.com Published: 2022-06-02 14:31:59 10月04日 Update

When the operation and maintenance of flush entrusts the master station, it is often found that transmit reported an error and failed to create a link in the morning, and it is necessary to restart transmit manually. The analysis found that it was caused by the automatic restart of the program at 6: 00 in the morning. Because the flush could not analyze the reason, the temporary solution was to adjust the automatic startup time of the program to 5: 00, and the operating system planned task to automatically execute the following script at 6: 00 to automatically restart after killing the transmit process.

The restart script is as follows:

Taskkill / im transmid.exe / f

Ping-n 3 127.0.0.1 > nul

Start D:\ Transmid_hs08-1\ transmid.exe

Ping-n 1 127.0.0.1 > nul

Start D:\ Transmid_hs08-2\ transmid.exe

Tags: Flush script program system analysis operating system task method reason manual time time process link delegate check adjust Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple MySQL macOS Redmi OPPO Reno