因为老板一个电话,我的国庆节就没了....,老板要我写个东西,能批量执行500台windows的命令并返回结果,虽然完成以后是非常的简单,但是因为我走了很多弯路,一开始想用powershell来写,后来又改成VBS的,最后还是用了最简单的CMD的命令的来完成,代码如下: @echo off set user=test for /f "tokens=1,2" %%i in (iplist.txt) do ( echo -------%date%--%time%----…
yum install -y ansible 编辑 /etc/ansible/hosts 文件 # This is the default ansible 'hosts' file.## It should live in /etc/ansible/hosts## - Comments begin with the '#' character # 用#来表示注释# - Blank lines are ignored # 空白行被忽略# - Groups of hosts are delimite…
今天在redis中执行setrange name 1 chun 命令时报了如下错误提示: (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the er…