Re: Running a PHP script on an automated regular schedule
| From: | Craig Donnelly | Date: | Thu, 10 Jun 2004 10:14:56 +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-188021@lists.php.net to get a copy of this message | ||
Best way to achieve this would be cron/crontab
http://www.webmasters-central.com/t/cron.shtml
HTH
Craig
"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
>