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 <hafezad...@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 >
_______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php