Created
April 11, 2014 18:11
-
-
Save jonathanselander/10488997 to your computer and use it in GitHub Desktop.
Clean the Magento core_session table
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
DELETE FROM core_session WHERE session_expires < unix_timestamp() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add a delta date? so anything older than .... 30 days os
https://stackoverflow.com/questions/5504395/insert-timestamp-into-a-database-7-days