Re: Schedule an Event with PHP

From: Date: Fri, 16 Jan 2004 14:52:04 +0000
Subject: Re: Schedule an Event with PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-174810@lists.php.net to get a copy of this message
Besides using CRON to hit that particular event table, is there any other method I am not thinking of that can be used with PHP? I want to check that event table every 5 minutes.
If this is on a Web site, can you not just check the database everytime a user hits a page in the site rather than "scheduling" it to run every 5 minutes to do the checking. In effect, if no one's hitting the site, then it doesn't matter whether it's being displayed, but when someone hits a page in your site, then that's a perfect time to check the date and then display whatever you want to display based on the date. -Ben

« previous php.general (#174810) next »