From c00f2c2c621bc0724a9404fe21b5c7fded96b32d Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Thu, 28 Dec 2023 17:11:59 +0800 Subject: [PATCH] update --- cron_set.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cron_set.sh b/cron_set.sh index f3fa11b..c45c58c 100644 --- a/cron_set.sh +++ b/cron_set.sh @@ -1,8 +1,8 @@ #!/bin/bash set -e sudo crontab -l > cron.cron -echo "0 8 * * * sudo /usr/bin/python /home/pi/lot_manager/open_led.py" >> cron.cron -echo "0 18 * * * sudo /usr/bin/python /home/pi/lot_manager/close_led.py" >> cron.cron +echo "0 9 * * * sudo /usr/bin/python /home/pi/lot_manager/open_led.py" >> cron.cron +echo "0 17 * * * sudo /usr/bin/python /home/pi/lot_manager/close_led.py" >> cron.cron sudo crontab cron.cron sudo systemctl restart cron.service sudo rm -rf cron.cron \ No newline at end of file