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]
|