This commit is contained in:
xyj 2024-01-10 09:19:35 +08:00
parent f072b43494
commit f7df4de3ba
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
sudo crontab -r sudo crontab -r
sudo crontab -l > cron.cron sudo crontab -l > cron.cron
echo "0 * * * * supervisorctl restart data_upload" >> cron.cron echo "0 */5 * * * supervisorctl restart data_upload" >> cron.cron
echo "0 0 * * * /usr/bin/python /home/pi/lot_manager/delete_lot_data_3_days.py" >> cron.cron echo "0 0 * * * /usr/bin/python /home/pi/lot_manager/delete_lot_data_3_days.py" >> cron.cron
# 64G的才加 # 64G的才加
echo "0 * * * * /usr/bin/bash /home/pi/lot_manager/bash/cron_delete_mp4.sh" >> cron.cron echo "0 * * * * /usr/bin/bash /home/pi/lot_manager/bash/cron_delete_mp4.sh" >> cron.cron