当前位置:网站首页>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边栏推荐
- MySQL split method usage
- EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化
- Windows are not cheap things
- Zhou Yajin, a top safety scholar of Zhejiang University, is a curiosity driven activist
- 一度辍学的数学差生,获得今年菲尔兹奖
- Organize five stages of actual attack and defense drill
- acwing 843. n-皇后问题
- 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
- A series of shortcut keys for jetbrain pychar
- Detect when a tab bar item is pressed
猜你喜欢
Common methods of list and map
R语言主成分pca、因子分析、聚类对地区经济研究分析重庆市经济指标
程序员上班摸鱼,这么玩才高端!
What if the win11 screenshot key cannot be used? Solution to the failure of win11 screenshot key
acwing 843. N-queen problem
九章云极DataCanvas公司摘获「第五届数字金融创新大赛」最高荣誉!
mpf2_线性规划_CAPM_sharpe_Arbitrage Pricin_Inversion Gauss Jordan_Statsmodel_Pulp_pLU_Cholesky_QR_Jacobi
九章云极DataCanvas公司蝉联中国机器学习平台市场TOP 3
这项15年前的「超前」技术设计,让CPU在AI推理中大放光彩
英特尔与信步科技共同打造机器视觉开发套件,协力推动工业智能化转型
随机推荐
What if the win11 screenshot key cannot be used? Solution to the failure of win11 screenshot key
浙江大学周亚金:“又破又立”的顶尖安全学者,好奇心驱动的行动派
Organize five stages of actual attack and defense drill
微信能开小号了,拼多多“砍一刀”被判侵权,字节VR设备出货量全球第二,今日更多大新闻在此
Flex layout and usage
How to open win11 remote desktop connection? Five methods of win11 Remote Desktop Connection
Digital chemical plant management system based on Virtual Simulation Technology
Zhou Yajin, a top safety scholar of Zhejiang University, is a curiosity driven activist
VM virtual machine operating system not found and NTLDR is missing
What work items do programmers hate most in their daily work?
[team learning] [phase 34] Baidu PaddlePaddle AI talent Creation Camp
论文上岸攻略 | 如何快速入门学术论文写作
Canteen user dish relationship system (C language course design)
Chapter 9 Yunji datacanvas company has been ranked top 3 in China's machine learning platform market
每人每年最高500万经费!选人不选项目,专注基础科研,科学家主导腾讯出资的「新基石」启动申报
【线段树实战】最近的请求次数 + 区域和检索 - 数组可修改+我的日程安排表Ⅰ/Ⅲ
食堂用户菜品关系系统(C语言课设)
Win11控制面板快捷键 Win11打开控制面板的多种方法
Mathematical analysis_ Notes_ Chapter 10: integral with parameters
EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化