Created
August 6, 2018 07:48
-
-
Save asraful/5dca989897cff6f9e035686e8ef348b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enableextensions enabledelayedexpansion | |
set tm=%time% | |
set hh=!tm:~0,2! | |
set mm=!tm:~3,2! | |
echo "trying to execute.." | |
if !hh! equ 15 ( | |
if !mm! gtr 15 ( | |
cd C:\app\ | |
java -jar app.jar | |
goto :done | |
) | |
) | |
:done | |
endlocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment