00 08 * * * mysql -uroot -p*** -se 'delete from tacacs.accounting where date < date_sub(now(), interval 90 day);' > /tmp/delete_accounting.log 2>&1
This could also be done with the MySQL event schedulerhttp://dev.mysql.com/doc/refman/5.6/en/events.html
This could also be done with the MySQL event scheduler
ReplyDeletehttp://dev.mysql.com/doc/refman/5.6/en/events.html