faqts : Computers : Programming : Languages : PHP : Database Backed Sites

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

Is there a way, using php, to clear a simple *.dat database at a certain time every week/month?

Aug 1st, 2004 05:09
Cinley Rodick, John Marc, Gary Pauk, http://www.generalforums.com , http://www.generalforums.com/yellow/


Using HTTP you have to have a window open on a computer that is on all 
the time.  Otherwise, if your server allows php to run from the command 
line you can run a chron such as this:
php /whereitis/cleardatfiles.php