Created
February 19, 2013 12:00
-
-
Save m0n5t3r/4985225 to your computer and use it in GitHub Desktop.
Magento log cleanup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "dataflow_batch_export | |
dataflow_batch_import | |
log_customer | |
log_quote | |
log_summary | |
log_summary_type | |
log_url | |
log_url_info | |
log_visitor | |
log_visitor_info | |
log_visitor_online | |
report_viewed_product_index | |
report_compared_product_index | |
report_event" | awk '{print "truncate table "$1";"}' | mysql $db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment