This topic is locked

Automaticaly delete entries.

6/1/2008 4:34:39 PM
PHPRunner General questions
W
wilsonhaze author

Hi please is there anyway entries in the database can be automatically deleted after a selected date and time?.

J
Jane 6/2/2008

Hi,
You need to write a separate script for this purpose. This script needs to be scheduled to run once a day, check dates and delete records if required. To schedule this script use CRON on Unix systems and Windows scheduler on Windows.