i want to have an automatic maintainance of my mysql database.
eg deletes all old threads, users and checks if a user hasnt been active (ive set up that javascript is updating a status column in mysql) for over 60 min, i set the persons status as logged out in mysql. stuff like that.
now how should i do this part. should i write this code in a php file and then fire it up with Firefox and let it be opened all the time.
is this the right method? any other suggestions are welcomed