Re: Automatically update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In message <625761.21216.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, Gab Teo
<doneatlast1000@xxxxxxxxx> writes
>I'm looking for a way to modified an update php script and to set it in a way to 
>automatically update my database every 2 hours, can any one help or advice?
> 
>Gab

Sounds like you want a script that will wait for 2 hours, then start
work again.  That is wrong.

Write a simple script to update the database, then close.  As usual.

Use CRON to make it re-run every 2 hours.

-- 
Pete Clark

Hot Costa - Local Spain
http://www.hotcosta.com

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux