当前位置:网站首页>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边栏推荐
- Poor math students who once dropped out of school won the fields award this year
- What work items do programmers hate most in their daily work?
- Jetson nano配置pytorch深度学习环境//待完善
- 一图看懂!为什么学校教了你Coding但还是不会的原因...
- Fix the problem that the highlight effect of the main menu disappears when the easycvr Video Square is clicked and played
- Comment les tests de logiciels sont - ils effectués sur le site Web? Testez la stratégie!
- 【数模】Matlab allcycles()函数的源代码(2021a之前版本没有)
- sscanf,sscanf_ S and its related usage "suggested collection"
- Unit test asp Net MVC 4 Application - unit testing asp Net MVC 4 apps thoroughly
- C#使用西门子S7 协议读写PLC DB块
猜你喜欢

How to open win11 remote desktop connection? Five methods of win11 Remote Desktop Connection

namespace基础介绍

各路行业大佬称赞的跨架构开发“神器”,你get同款了吗?

Deeply cultivate the developer ecosystem, accelerate the innovation and development of AI industry, and Intel brings many partners together

Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!

EasyCVR集群版本添加RTSP设备提示服务器ID错误,该如何解决?

【实践出真理】import和require的引入方式真的和网上说的一样吗

How does vscade use the built-in browser?
![[on automation experience] the growth path of automated testing](/img/28/38d82cbdc7ed249d376fff264d1b5d.png)
[on automation experience] the growth path of automated testing

AI landing new question type RPA + AI =?
随机推荐
Acl2022 | decomposed meta learning small sample named entity recognition
Win11玩绝地求生(PUBG)崩溃怎么办?Win11玩绝地求生崩溃解决方法
You can't sell the used lithography machine to China! The United States unreasonably pressured the Dutch ASML, and domestic chips were suppressed again
System framework of PureMVC
每人每年最高500万经费!选人不选项目,专注基础科研,科学家主导腾讯出资的「新基石」启动申报
R language principal component PCA, factor analysis, clustering analysis of regional economy analysis of Chongqing Economic Indicators
JetBrain Pycharm的一系列快捷键
视频融合云平台EasyCVR视频广场左侧栏列表样式优化
窗口可不是什么便宜的东西
jvm是什么?jvm调优有哪些目的?
一图看懂!为什么学校教了你Coding但还是不会的原因...
《原动力 x 云原生正发声 降本增效大讲堂》第三讲——Kubernetes 集群利用率提升实践
这项15年前的「超前」技术设计,让CPU在AI推理中大放光彩
抖音或将推出独立种草社区平台:会不会成为第二个小红书
[on automation experience] the growth path of automated testing
The worse the AI performance, the higher the bonus? Doctor of New York University offered a reward for the task of making the big model perform poorly
C#使用西门子S7 协议读写PLC DB块
程序员上班摸鱼,这么玩才高端!
架构实战训练营|课后作业|模块 6
Implementation of JSTL custom function library