From 3bee31fcbdd0aa85f3f388bf1993ba84de71f3d5 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Sat, 6 Jan 2024 14:13:32 +0800 Subject: [PATCH] update --- conf/example/bash/cron_set.sh | 2 +- video_task.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/example/bash/cron_set.sh b/conf/example/bash/cron_set.sh index 06ccc81..c12c99b 100644 --- a/conf/example/bash/cron_set.sh +++ b/conf/example/bash/cron_set.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e sudo crontab -l > cron.cron -echo "* */1 * * * /usr/bin/bash /home/pi/lot_manager/conf/example/bash/start_dataupload_internal_one_hour.sh" >> cron.cron +echo "0 */1 * * * /usr/bin/bash /home/pi/lot_manager/conf/example/bash/start_dataupload_internal_one_hour.sh" >> cron.cron sudo crontab cron.cron sudo systemctl restart cron.service sudo rm -rf cron.cron \ No newline at end of file diff --git a/video_task.py b/video_task.py index 639fe5f..133854e 100644 --- a/video_task.py +++ b/video_task.py @@ -116,7 +116,7 @@ async def function_B(client, data): user_msg = {} - +user_scene = [False, False, False] # 创建WebSocket连接的处理函数 async def handler(websocket, path):