There's more than one way to do things | |
PerlMonks |
Re: Flat Database: Outdated Info Removalby Three (Pilgrim) |
on Nov 15, 2002 at 16:44 UTC ( [id://213196]=note: print w/replies, xml ) | Need Help?? |
Why not put your deletion code into a separate program. Then use the power of the CRON job to run it at midnight every night. This would elevate overhead of insert and display of data. It would also make sure that data is deleted in a timely manner. If you are running on a Windowz NT machine use the AT scheduling service. If you don't have either then check out this cron module for perl.
In Section
Seekers of Perl Wisdom
|
|