Jump to content

Delete row/rows after X time ?

delete mysql after time

  • Please log in to reply
1 reply to this topic

#1 tlc033


    Advanced Member

  • Members
  • PipPipPip
  • 59 posts
  • LocationChisinau

Posted 20 December 2012 - 04:34 AM

Hi. It is posible to delete data from tabel (1 row or many rows) from MySQL after determinated time.

For. ex.
I inser row data at 12.12.2012 and i need to auto delete row after 1 day for ex 13.12.2012 row well be deleted.

Any sugestion ? THX

We are a web company from Republic of Moldova and offers services as, web design, web development, eCommerce, online marketing and advertising, consulting and web optimization, search engine optimization (SEO) and social media optimization (SMO), branding and rebranding.







#2 victor


    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts
  • LocationMinsk

Posted 20 December 2012 - 08:10 AM

you can use cron. or you can look how works the session library

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users