remove_old_data.sh 1.2 KB

1234567891011121314151617
  1. #!/bin/sh
  2. year=2031
  3. month=3
  4. /root/Envs/userserver/bin/python remove_old_data_by_dt.py --env=production --model ConsumeRecord --year ${year} --month ${month}
  5. /root/Envs/userserver/bin/python remove_old_data_by_dt.py --env=production --model RechargeRecord --year ${year} --month ${month}
  6. /root/Envs/userserver/bin/python remove_old_data_by_dt.py --env=production --model DealerIncomeProxy --year ${year} --month ${month}
  7. /root/Envs/userserver/bin/python remove_old_data_by_date.py --env=production --model DealerDailyStat --year ${year} --month ${month}
  8. /root/Envs/userserver/bin/python remove_old_data_by_date.py --env=production --model GroupDailyStat --year ${year} --month ${month}
  9. /root/Envs/userserver/bin/python remove_old_data_by_date.py --env=production --model DeviceDailyStat --year ${year} --month ${month}
  10. /root/Envs/userserver/bin/python remove_old_data_by_date.py --env=production --model DealerReport --year ${year} --month ${month}
  11. /root/Envs/userserver/bin/python remove_old_data_by_date.py --env=production --model DevReport --year ${year} --month ${month}
  12. /root/Envs/userserver/bin/python remove_old_data_by_date.py --env=production --model GroupReport --year ${year} --month ${month}