当前位置:网站首页>Run the command once per second in Bash- Run command every second in Bash?
Run the command once per second in Bash- Run command every second in Bash?
2022-07-07 04:46:00 【French red wine sweet】
problem :
I want to write some image downloader and assign it on bash. I want to write some image downloaders and download them in bash Assign it on .What I have and what I need: What I have and what I need :
I have: I have a :
- Command, which works fine (something like
wget http://mywebcam.com/image.jpg -O /var/cam/Image.jpg) command , Work well ( Be similar towget http://mywebcam.com/image.jpg -O /var/cam/Image.jpg) Root rights Root permission
Fast Internet line between my server and my webcam Fast Internet connection between my server and my webcam
What I need: What I need :
Download image from camera every second*(sleep 1?)* and rewrite it localy (my command do it well) Run this script at once and don't worry about restart (I think I need to create file with bash commands and run it once + set crontab work "on reboot" to this file, right?) Download images from the camera every second *( sleep 1?)* And rewrite it locally ( My orders are well done ) immediately Run this script , Don't worry about restarting ( I think I need to use bash Command to create a file and run it once + set crontab work“on reboot” To this file , Right ?)
Maybe there's someone who knows what should I to do? Maybe someone knows what I should do ?
Solution :
Reference resources : https://stackoom.com/en/question/d1HE边栏推荐
- Ssm+jsp realizes the warehouse management system, and the interface is called an elegant interface
- Case reward: Intel brings many partners to promote the innovation and development of multi domain AI industry
- Detect when a tab bar item is pressed
- Organize five stages of actual attack and defense drill
- Deeply cultivate the developer ecosystem, accelerate the innovation and development of AI industry, and Intel brings many partners together
- [line segment tree practice] recent requests + area and retrieval - array modifiable + my schedule I / III
- How to conduct website testing of software testing? Test strategy let's go!
- Thesis landing strategy | how to get started quickly in academic thesis writing
- Oracle - views and sequences
- Win11 control panel shortcut key win11 multiple methods to open the control panel
猜你喜欢

计数排序基础思路

程序员上班摸鱼,这么玩才高端!

Win11 control panel shortcut key win11 multiple methods to open the control panel

EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化

Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"

mpf2_ Linear programming_ CAPM_ sharpe_ Arbitrage Pricin_ Inversion Gauss Jordan_ Statsmodel_ Pulp_ pLU_ Cholesky_ QR_ Jacobi

Digital chemical plant management system based on Virtual Simulation Technology

C#使用西门子S7 协议读写PLC DB块

This "advanced" technology design 15 years ago makes CPU shine in AI reasoning

On the 110th anniversary of Turing's birth, has the prediction of intelligent machine come true?
随机推荐
窗口可不是什么便宜的东西
Complimentary tickets quick grab | industry bigwigs talk about the quality and efficiency of software qecon conference is coming
In depth analysis of kubebuilder
Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
深入解析Kubebuilder
EasyCVR集群版本添加RTSP设备提示服务器ID错误,该如何解决?
A detailed explanation of head pose estimation [collect good articles]
九章云极DataCanvas公司摘获「第五届数字金融创新大赛」最高荣誉!
两个div在同一行,两个div不换行「建议收藏」
Lecture 3 of "prime mover x cloud native positive sounding, cost reduction and efficiency enhancement lecture" - kubernetes cluster utilization improvement practice
案例大赏:英特尔携众多合作伙伴推动多领域AI产业创新发展
AI 落地新题型 RPA + AI =?
How to conduct website testing of software testing? Test strategy let's go!
Thesis landing strategy | how to get started quickly in academic thesis writing
日常工作中程序员最讨厌哪些工作事项?
Nanopineo use development process record
leetcode 53. Maximum subarray maximum subarray sum (medium)
Lessons and thoughts of the first SQL injection
What if the win11 screenshot key cannot be used? Solution to the failure of win11 screenshot key
EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化