kev wood Posted May 30, 2008 Share Posted May 30, 2008 is it possible to truncate a table using time stamps. i want to truncate a table once 24hr as passed as i am creating a email system which only allows the user to send a set amount of emails each day. if this is a php question please notify me and i will ask on the other forums. Quote Link to comment Share on other sites More sharing options...
rhodesa Posted May 30, 2008 Share Posted May 30, 2008 what is in this table? audit entries of what was sent? you can set up a cronjob that runs a DELETE at midnight every night. Quote Link to comment Share on other sites More sharing options...
fenway Posted May 30, 2008 Share Posted May 30, 2008 See this thread. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.