borraAntiguos 195 B

12
  1. mysql -u crey -pRey-1176 estadopi -e "delete from estado where fecha < NOW() - INTERVAL 1 WEEK;"
  2. mysql -u crey -pRey-1176 estadopi -e "delete from memoria where fecha < NOW() - INTERVAL 1 WEEK;"