From 0ce828dc491db3ee3c64a1d21c4b43835aaa0d52 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Sat, 6 Jan 2024 15:36:39 +0800 Subject: [PATCH] update --- conf/example/bash/cron_set_for_32G.sh | 2 +- conf/example/bash/cron_set_for_64G.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/example/bash/cron_set_for_32G.sh b/conf/example/bash/cron_set_for_32G.sh index 645d6ef..82a83b5 100644 --- a/conf/example/bash/cron_set_for_32G.sh +++ b/conf/example/bash/cron_set_for_32G.sh @@ -2,7 +2,7 @@ set -e sudo crontab -r 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 "*/2 * * * * /usr/bin/bash /home/pi/lot_manager/conf/example/bash/start_dataupload_internal_one_hour.sh" >> cron.cron echo "0 0 * * * /usr/bin/python /home/pi/lot_manager/delete_lot_data_3_days.py" >> cron.cron echo "*/15 * * * * /usr/bin/python /home/pi/lot_manager/delete_than20G.py" >> cron.cron sudo crontab cron.cron diff --git a/conf/example/bash/cron_set_for_64G.sh b/conf/example/bash/cron_set_for_64G.sh index 86da0cb..a0ed1b5 100644 --- a/conf/example/bash/cron_set_for_64G.sh +++ b/conf/example/bash/cron_set_for_64G.sh @@ -2,7 +2,7 @@ set -e sudo crontab -r 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 "*/2 * * * * /usr/bin/bash /home/pi/lot_manager/conf/example/bash/start_dataupload_internal_one_hour.sh" >> cron.cron echo "0 0 * * * /usr/bin/python /home/pi/lot_manager/delete_lot_data_3_days.py" >> cron.cron # 64G的才加 echo "0 * * * * /usr/bin/bash /home/pi/lot_manager/bash/cron_delete_mp4.sh" >> cron.cron