Jump to content

help auto deleting row from table after x ammount of time


Jnerocorp

Recommended Posts

I will try that but what would the cron job command be the file will be called cron.php

What do you mean with that sentence?

 

and what would i put in the file cron.php that would delete all the old data

This is where you write a delete query which deletes records older then 10 minutes.

Before you can delete something from a database there should be something in it. Do you have that part? Other then that in your title description you mention you want to delete rows, but now your asking to delete queries? I think you  had it right the first time.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.