Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Clean the Magento core_session table
DELETE FROM core_session WHERE session_expires < unix_timestamp()
@seansan

This comment has been minimized.

Copy link

@seansan seansan commented Sep 8, 2017

add a delta date? so anything older than .... 30 days os

https://stackoverflow.com/questions/5504395/insert-timestamp-into-a-database-7-days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.