* 执行一条命令 */publicintexecCmd(String command)throws Exception{XxlJobLogger.log("开始执行命令:"+command);int returnCode=-1;BufferedReader reader=null;Channel channel=null;channel=session.openChannel("exec");((ChannelExec)channel).setCommand(command);channel.setInputStream(null);((ChannelExec)...