Re: PHP 24 hour processes?

From: Date: Mon, 25 Feb 2008 06:46:01 +0000
Subject: Re: PHP 24 hour processes?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-270026@lists.php.net to get a copy of this message
On Mon, 2008-02-25 at 07:39 +0100, Zoran Bogdanov wrote: > How can you perform a timed event in PHP; for example: > > Count 24 hours and then delete all rows in a database... > I thought that this question was answered in some detail before... Anyway, on *NIX based systems use cron.daily or on 'doze, use AT or command scheduler I think it's called. Either that or use a long running PHP process with ignore_user_abort() and a time of 86400 seconds :) --Paul

« previous php.general (#270026) next »