rejetto forum

Author Topic: The Throwback (retro) template.  (Read 54218 times)

Offline LeoNeeson

  • Tireless poster
  • ****
  • Posts: 686
  • Still busy...
    • View Profile
    • twitter.com/LeoNeeson
Re: Watchdog, Keep-Alive, No-Freeze script
« on: February 25, 2020, 05:28:03 AM »
Sure, here is a no-frills version.
Code: [Select]
@echo off
:ONE
timeout /t 10 > nul
VER > nul
wget 127.0.0.1:80/favicon.ico --output-document=nul --quiet
IF %ERRORLEVEL% NEQ 0 GOTO TWO
GOTO ONE
:TWO
TASKKILL /IM hfs.exe /F
timeout /t 3
start "" "hfs.exe"
GOTO ONE
Assumptions:
batch file and wget in same folder as hfs.exe
HFS filename is hfs.exe (you can edit both)
port 80 (you can edit)

Good! thanks for sharing...
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» All my work/posts/data anywhere on internet is on Public License!

Follow members gave a thank to your post:


Thank-o-Matic 3.0 By Adk Team