guyfromfl Posted April 8, 2011 Share Posted April 8, 2011 I just have a general question about when other programmers remove rows older than say a year old.... Do most of you: 1) set up a CRON job to run daily at 3:00am 2) Add a routine at login for each user 3) Add a routine when a user moves into a certain portion of the application 4) A maintenance routine that an administrator manually has to envoke Or is there another way...I have done some research but most of the things google has showed me is the how not when to do this... Link to comment https://forums.phpfreaks.com/topic/233087-method-for-removing-mysql-rows-older-than-x-dates/ Share on other sites More sharing options...
RussellReal Posted April 8, 2011 Share Posted April 8, 2011 I just have a general question about when other programmers remove rows older than say a year old.... Do most of you: 1) set up a CRON job to run daily at 3:00am 2) Add a routine at login for each user 3) Add a routine when a user moves into a certain portion of the application 4) A maintenance routine that an administrator manually has to envoke Or is there another way...I have done some research but most of the things google has showed me is the how not when to do this... I'd say the best would be 1 or 4.. 1 would be the best choice for me tho Link to comment https://forums.phpfreaks.com/topic/233087-method-for-removing-mysql-rows-older-than-x-dates/#findComment-1198778 Share on other sites More sharing options...
guyfromfl Posted April 8, 2011 Author Share Posted April 8, 2011 Russell, Thanks, I was thinking about doing a CRON job, but I was just wondering what you guys had to say... I think I'm going to start on that, instead of lurking around in a forum on the clock... ha Thanks! Link to comment https://forums.phpfreaks.com/topic/233087-method-for-removing-mysql-rows-older-than-x-dates/#findComment-1198779 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.