[PHP] automatically delete records from a table

2003-02-10 Thread Sunfire
hi.. was wondering about how you could run a script that automatically ran at midnight every day and deleted records that matched a certain date stored in a mysql table? any ideas how that supposed to work?.. i think the script has to be a chron task on linux but im not really sure how to go

Re: [PHP] automatically delete records from a table

2003-02-10 Thread Steve Werby
Sunfire [EMAIL PROTECTED] wrote: was wondering about how you could run a script that automatically ran at midnight every day and deleted records that matched a certain date stored in a mysql table? any ideas how that supposed to work?.. i think the script has to be a chron task on linux but

Re: [PHP] automatically delete records from a table

2003-02-10 Thread Sunfire
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 5:12 PM Subject: Re: [PHP] automatically delete records from a table Sunfire [EMAIL PROTECTED] wrote: was wondering about how you could run a script that automatically ran at midnight every day and deleted records

Re: [PHP] automatically delete records from a table

2003-02-10 Thread Chris Shiflett
--- Sunfire [EMAIL PROTECTED] wrote: i need to have the date and time of the event checked so when cron runs if the posted event is on 2003-02-11 15:00:00 for example then at 24:00:00 that day cron will delete that record because it isnt needed anymore Work on creating a script that you can

Re: [PHP] automatically delete records from a table

2003-02-10 Thread Jason Wong
On Tuesday 11 February 2003 06:34, Sunfire wrote: i have never used cron/crontab before .. and just so i know what should i search for on google...since none of my searches for anything about cron/crontab come back with anything on the list archive.. Which list archive did you search? If