On Fri, 2008-02-22 at 07:28 +0100, Zoran Bogdanov wrote:
> The title says it all, how do I perform an action every 24 hours?
> 

$sql = "TRUNCATE TABLE 'sometable'";
$this->query($sql);

on a cron.daily

--Paul
-- 
------------------------------------------------------------.
| Chisimba PHP5 Framework - http://avoir.uwc.ac.za           |
:------------------------------------------------------------:

All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to