json文件与cmd文件样例

This commit is contained in:
alen 2017-06-08 16:57:01 +08:00
parent 98fb65a378
commit 0309fc9365
2 changed files with 5 additions and 0 deletions

4
cmdSample.txt Normal file
View file

@ -0,0 +1,4 @@
date
sleep 10
date
exit

1
jsonSample.json Normal file
View file

@ -0,0 +1 @@
{"SshHosts":[{"Host":"1.1.1.1","Port":11,"Username":"xxx","Password":"xxx","CmdFile":"cmd1.txt"},{"Host":"1.1.1.1","Port":11,"Username":"yyy","Password":"yyy","CmdFile":"cmd2.txt"}]}