Re: Running a PHP script on an automated regular schedule
| From: | Henry Grech-Cini | Date: | Mon, 12 Jul 2004 07:43:39 +0000 |
| Subject: | Re: Running a PHP script on an automated regular schedule | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190223@lists.php.net to get a copy of this message | ||
You may also want to look at wget as a way of invoking
your PHP script if command line support is not available.
Henry
"I.A. Gray" <tech@selectperformers.com> wrote in message
news:GKENIOKKDEHBGNGOCJHNEEHGCHAA.tech@selectperformers.com...
> Hi.
>
> I am wanting to use a PHP script to check on an hourly/daily basis on a
few
> things- ie links on my sites, whether the sites are up and running and
also
> to send an e-mail to me. I know how to do this using PHP but my problem
is
> how to have this running 24/7. I can't really have this on a web page as
> wouldn't it time out? I don't have my own server and so use a hosting
> company. Is there a way of running a PHP script on a regular basis (say
> every 10 or 30 mins, or hourly or daily)? Would I have to set up my own
> server to do this? I just the simplest way of acheiving this. Any ideas?
> Does anyone know of any decent link checkers written in PHP that I could
> implement?
>
> Many thanks,
>
> Ian Gray
>