This commit is contained in:
xyj 2024-01-06 14:13:32 +08:00
parent 1882688652
commit 3bee31fcbd
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -116,7 +116,7 @@ async def function_B(client, data):
user_msg = {}
user_scene = [False, False, False]
# 创建WebSocket连接的处理函数
async def handler(websocket, path):