NYCPHP Meetup

NYPHP.org

[nycphp-talk] Run PHP script as service (every 10 seconds)

Fernando Gabrieli fgabrieli at gmail.com
Tue Dec 16 09:43:34 EST 2008


if you could change it so it runs every minute (instead of every 10 seconds)
you could use a cron...

On Tue, Dec 16, 2008 at 5:45 AM, hafez ahmad <hafezadnan at gmail.com> wrote:

> Dears,
>
> I need to run PHP script every 10 seconds , I can do that with (while true)
> and sleep(10), but I need to the script always run on Linux machine as
> service.
>
> Any Ideas?
>
> Regards,
> hafez
>
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20081216/a3dfe4e9/attachment.html>


More information about the talk mailing list