Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating MySQL updates...

Status
Not open for further replies.

buzzt

Programmer
Oct 17, 2002
171
CA
Does anyone know how I could have a mysql table automatically delete a row based on the date? For example, if a user entered into a database has not activated his/her account with in one day, the user is automatically deleted.

What would be the best approach?
 
Garbage collection.

Create a program which looks in the database and delete unactivated records that are more than 24 hours hold. Have some automation utility (like cron on *nix) run that program hourly. ______________________________________________________________________
TANSTAAFL!
 
Any idea what I could use on Windows?
 
Which version of Win32? ______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top