Re: Alarm/Timer in PHP??
| From: | Michael Kimsal | Date: | Wed, 07 Feb 2001 03:47:08 +0000 |
| Subject: | Re: Alarm/Timer in PHP?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38483@lists.php.net to get a copy of this message | ||
No. PHP simply executes a script when it is called by something.
An option would be to an external 'something' automatically
call PHP periodically. At that point, the script that is invoked
could do periodic maintenance (check DB, warn you if
date in MYSQL is < 1 week, etc.)
We have a service called cronservice.com for people who don't
have access to cron on their servers, but chances are you have it
on your system (if it's unix-ish) or scheduled tasks (in Windows)
which will accomplish the same thing, for free.
GAYTAN BAHAMONDEZ DANIEL EDUARDO wrote:
> Hi there,
> I need to do some kind of alarm in php, I have a date(dd-mm-yyyy)
> in mysql and need that system warn me a week or so before that date, is
> there a function like that in php??
>
> Thanks in advance
> Daniel Gaytan B.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net