Matthewza
Posting Freak
- Apr 20, 2012
- 777
- 77
Hello,
I need help I want to set my server to restart every week on a friday I got the code but I don't get what
means
I need help I want to set my server to restart every week on a friday I got the code but I don't get what
Code:
/a time=%time%
Code:
@echo off
title .:Blabbers Server Restarter:.
:start
set time=604800
start notepad.exe
:loop
cls
IF %time% GTR 0 (
set /a time=%time% - 1
set /a min=%time%/10080
echo Blabbers Hotel Will Restart In %time% Seconds.
echo Blabbers Hotel will Restart in %time% Seconds Which is %min% Minutes.
ping 127.0.0.1 -n 2 > NUL
goto loop
)
taskkill /f /im notepad.exe
cls
close server
goto start