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. Link to comment https://forums.phpfreaks.com/topic/108012-table-truncate/ 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. Link to comment https://forums.phpfreaks.com/topic/108012-table-truncate/#findComment-553618 Share on other sites More sharing options...
fenway Posted May 30, 2008 Share Posted May 30, 2008 See this thread. Link to comment https://forums.phpfreaks.com/topic/108012-table-truncate/#findComment-553799 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.