Cleaning SpamDyke Log Table in plesk

The spamdyke_log_table gets very large very quickly.  This slows down viewing from within the plesk panel.  To clean up records older than 7 days use the following command

delete from spamdyke_log_table where `time` < DATE_ADD(CURDATE(),interval  -7 day);

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.