当前位置:网站首页>Using win10 scheduling task program to automatically run jar package at fixed time
Using win10 scheduling task program to automatically run jar package at fixed time
2022-07-04 17:16:00 【@Big bear_】
utilize win10 The scheduled task program runs automatically on a regular basis jar package
1. Preparation before start
- .config Profile directory ( my java One will be read in the program .config Configuration files in the folder , You wrote it according to yourself java Procedure dependent , Negligible )
- Their own jar package
- Create a new empty run.bat Script
Pictured :
2. To write run.bat The script content
Notepad open , Input execution jar The order of , And save .
Such as :
java -jar D:\OneDrive\Desktop\update-tools\boot-01-helloworld-1.0.jar
3. Open task scheduler
stay windows Search box for " Task scheduler ", And open .
Create a new folder , Pictured :
Create tasks -> routine , Pictured :
Select trigger -> newly build , Pictured :
Select operation -> newly build , Pictured :
In the picture 5 Step is important , If you are like me , Compiling java One will be read in the program .config Configuration files in the folder , here ** From :** You need to fill in the path of jar and .config The path of the folder , If you write java There is no need to read the configuration file in the program , You can run here without filling jar package , But it is not clear whether it will affect the final effect of the program , Please fill in all the suggestions .Finally, confirm , You can wait for the program to run .
Running results :
( The time in the picture is not right , It's because it's the picture I cut before )
end
If there are mistakes , Please ax .
边栏推荐
- 高度剩余法
- detectron2安装方法
- tx.origin安全问题总结
- The winning rate against people is 84%, and deepmind AI has reached the level of human experts in army chess for the first time
- 中银证券网上开户安全吗?
- [acwing] 58 weeks 4489 Longest subsequence
- 周大福践行「百周年承诺」,真诚服务推动绿色环保
- It's too convenient. You can complete the code release and approval by nailing it!
- Yanwen logistics plans to be listed on Shenzhen Stock Exchange: it is mainly engaged in international express business, and its gross profit margin is far lower than the industry level
- Overflow: the combination of auto and Felx
猜你喜欢
PingCode 性能测试之负载测试实践
Understand Alibaba cloud's secret weapon "dragon architecture" in the article "science popularization talent"
It's too convenient. You can complete the code release and approval by nailing it!
从数数开始
太方便了,钉钉上就可完成代码发布审批啦!
leetcode:421. The maximum XOR value of two numbers in the array
Redis 的内存淘汰策略和过期删除策略的区别
《吐血整理》保姆级系列教程-玩转Fiddler抓包教程(2)-初识Fiddler让你理性认识一下
C# 更加优质的操作MongoDB数据库
一加10 Pro和iPhone 13怎么选?
随机推荐
NFT流动性市场安全问题频发—NFT交易平台Quixotic被黑事件分析
Years of training, towards Kata 3.0! Enter the safe container experience out of the box | dragon lizard Technology
Pytorch deep learning quick start tutorial
The test experience "tortured" by the PMP test is worth your review
安信证券属于什么档次 开户安全吗
Chow Tai Fook fulfills the "centenary commitment" and sincerely serves to promote green environmental protection
Transformer中position encoding实践
Hash table
Start by counting
NoSQL之readis配置与优化(终章)
跳跃表实例
APOC自定义函数和过程
Readis configuration and optimization of NoSQL (final chapter)
第十八届IET交直流輸電國際會議(ACDC2022)於線上成功舉辦
Congratulations to Mr. Zhang Pengfei, chief data scientist of artefact, for winning the campaign Asia tech MVP 2022
Smart Logistics Park supply chain management system solution: digital intelligent supply chain enables a new supply chain model for the logistics transportation industry
中信证券网上开户安全吗 开户收费吗
Solution of dealer collaboration system in building materials industry: empowering enterprises to build core competitiveness
将Opencv绘制图片显示在MFC Picture Control控件上
Capvision Rongying's prospectus in Hong Kong was "invalid": it was strictly questioned by the CSRC and required supplementary disclosure