This commit is contained in:
xyj 2024-01-06 14:20:45 +08:00
parent 46e5121807
commit 9a6993bab9
1 changed files with 2 additions and 1 deletions

View File

@ -7,4 +7,5 @@ echo "0 0 * * * /usr/bin/python /home/pi/lot_manager/delete_lot_data_3_days.py"
echo "*/15 * * * * /usr/bin/python /home/pi/lot_manager/delete_than20G.py" >> cron.cron
sudo crontab cron.cron
sudo systemctl restart cron.service
sudo rm -rf cron.cron
sudo rm -rf cron.cron