You are here: Re: Newbie PHP question - Self scripts. « All PHP « IT news, forums, messages
Re: Newbie PHP question - Self scripts.

Posted by SmakDaddy on 04/24/06 02:10

"Johnny Mac" <johnnyMac@npubcorp.com> wrote in message
news:AOmdncXiorZXmdHZnZ2dnUVZ_tudnZ2d@magma.ca...
> I'm quite impressed with the functionality of PHP but I have one question.
>
> Can PHP be used to run scripts on a web server WITHOUT client interaction?
>
> For example, running queries on a MySQL database to tally up stats, totals
> after midnight...
>
> or
>
> Running a database query every 20 min as oppose to everytime someone logs
> in.
>
> etc etc?
>
> JM
>
>

Yep.
Set a cron job to run when you wish.
http://www.unixgeeks.org/security/newbie/unix/cron-1.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация