From 0309fc9365ba7d531851c55a1e32392bd1dc442a Mon Sep 17 00:00:00 2001 From: alen <63181977@qq.com> Date: Thu, 8 Jun 2017 16:57:01 +0800 Subject: [PATCH] =?UTF-8?q?json=E6=96=87=E4=BB=B6=E4=B8=8Ecmd=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=A0=B7=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmdSample.txt | 4 ++++ jsonSample.json | 1 + 2 files changed, 5 insertions(+) create mode 100644 cmdSample.txt create mode 100644 jsonSample.json diff --git a/cmdSample.txt b/cmdSample.txt new file mode 100644 index 0000000..332fea8 --- /dev/null +++ b/cmdSample.txt @@ -0,0 +1,4 @@ +date +sleep 10 +date +exit \ No newline at end of file diff --git a/jsonSample.json b/jsonSample.json new file mode 100644 index 0000000..0d17385 --- /dev/null +++ b/jsonSample.json @@ -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"}]}