![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
asderxiao
这个作者很懒,什么都没留下…
展开
-
springboot使用influxdb
springboot使用influxdb导入依赖配置文件数据库连接类参数初始化连接操作接口工具类业务代码测试类参考导入依赖<dependency> <groupId>org.influxdb</groupId> <artifactId>influxdb-java</artifactId> <version>2.15</version></dependency>配置文件spring: i原创 2020-09-24 16:00:35 · 1979 阅读 · 0 评论 -
关于springboot 在启动时,期望不启动定时器的解决办法
@Component//defalut 不影响默认配置文件运行定时器@Profile("default")public class TestScheduled { private final Logger log= LoggerFactory.getLogger(this.getClass()); @Autowired DayDateService ds...转载 2019-10-15 11:07:20 · 1270 阅读 · 0 评论 -
java 运行 linux shell 命令
1)发布到linux服务器上使用时的代码public List runShell(String shell) throws IOException, InterruptedException { InputStream in = null; List resultList = new ArrayList(); log.debug("执行shell脚本: " + shel原创 2017-04-12 17:40:38 · 547 阅读 · 1 评论 -
java 运行 linux shell 命令
1)发布到linux服务器上使用public List runShell(String shell) throws IOException, InterruptedException { InputStream in = null; List resultList = new ArrayList(); log.debug("执行shell脚本: " + shell);原创 2017-04-12 18:58:46 · 627 阅读 · 1 评论