redis.cmd放到安裝目錄下,例如(我放在D:\360極速瀏覽器下載\Redis-x64-3.2.100):
@echo off
set /p input=請輸入task(s1啓動 s2停止):if "%input%"=="s1" goto A
if "%input%"=="s2" goto B
:A
redis-server.exe redis.windows.conf
exit
:B
redis-cli -p 6379 shutdown
exit
redis.cmd放到安裝目錄下,例如(我放在D:\360極速瀏覽器下載\Redis-x64-3.2.100):
@echo off
set /p input=請輸入task(s1啓動 s2停止):https://github.com/ddean2009/blog-auto-publishing-tools
一. 二. 三. ! 作 者 : Yaopengfei(姚鵬飛) 博客地址 : http://www.cnblogs.com
ERROR Failed to compile with 1 error