----- Original Message -----
From: Arcadius A. <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 9:28 PM
Subject: [PHP-DB] MySQL DB CleanUp Help!

> Hello !
> I'd like to automatically delete old entries from my MySQL ....
> Is there any special funcion in PHP or MySQl for doing that ?
> For that purpose, I've created a PHP script (form)  that delete old
> when I submit a form ... but I'd like the scrip to do the job
> periodically(for instance once in two days or in a week) without my
> intervention... Is this possible ?
> ( I'ts on a UNIX server)
> Thanks..
> Arcad.

Here's one way to do it:

Create a php page which when accessed will do deletions you require.
Create a cron job which uses wget to access that page.

Jason Wong
Gremlins Associates

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to