当前位置:网站首页>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边栏推荐
- Lessons and thoughts of the first SQL injection
- 架构实战训练营|课后作业|模块 6
- How to open win11 remote desktop connection? Five methods of win11 Remote Desktop Connection
- 英特尔David Tuhy:英特尔傲腾技术成功的原因
- DFS和BFS概念及实践+acwing 842 排列数字(dfs) +acwing 844. 走迷宫(bfs)
- Is there any way to bookmark the code in the visual studio project- Is there a way to bookmark code in a Visual Studio project?
- 【实践出真理】import和require的引入方式真的和网上说的一样吗
- 论文上岸攻略 | 如何快速入门学术论文写作
- 《原动力 x 云原生正发声 降本增效大讲堂》第三讲——Kubernetes 集群利用率提升实践
- Network Security Learning - Information Collection
猜你喜欢
Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"
DFS and BFS concepts and practices +acwing 842 arranged numbers (DFS) +acwing 844 Maze walking (BFS)
Common methods of list and map
这项15年前的「超前」技术设计,让CPU在AI推理中大放光彩
用CPU方案打破内存墙?学PayPal堆傲腾扩容量,漏查欺诈交易量可降至1/30
各路行业大佬称赞的跨架构开发“神器”,你get同款了吗?
MySQL数据库(基础篇)
Ssm+jsp realizes the warehouse management system, and the interface is called an elegant interface
The easycvr platform is connected to the RTMP protocol, and the interface call prompts how to solve the error of obtaining video recording?
In depth analysis of kubebuilder
随机推荐
What if the win11 screenshot key cannot be used? Solution to the failure of win11 screenshot key
掌握软件安全测试方法秘笈,安全测试报告信手捏来
Introduction to the PureMVC series
ESG全球领导者峰会|英特尔王锐:以科技之力应对全球气候挑战
The root file system of buildreoot prompts "depmod:applt not found"
Thesis landing strategy | how to get started quickly in academic thesis writing
Practice Guide for interface automation testing (middle): what are the interface testing scenarios
Break the memory wall with CPU scheme? Learn from PayPal to expand the capacity of aoteng, and the volume of missed fraud transactions can be reduced to 1/30
Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!
Optimization of channel status offline of other server devices caused by easycvr cluster restart
EasyCVR视频广场点击播放时,主菜单高亮效果消失问题的修复
Oracle -- 视图与序列
Structure actual training camp | after class homework | module 6
Nanopineo use development process record
leetcode 53. Maximum Subarray 最大子数组和(中等)
程序员上班摸鱼,这么玩才高端!
What is JVM? What are the purposes of JVM tuning?
【數模】Matlab allcycles()函數的源代碼(2021a之前版本沒有)
Deeply cultivate the developer ecosystem, accelerate the innovation and development of AI industry, and Intel brings many partners together
用CPU方案打破内存墙?学PayPal堆傲腾扩容量,漏查欺诈交易量可降至1/30