You are here: Re: Continuously running script? « All PHP « IT news, forums, messages
Re: Continuously running script?

Posted by Redfox05 on 02/03/06 00:39

Dead simple, ive setup linux in no time.
Fedora or Suse are easy, cant say for others, only tried these.

Anyways, quite a few hosts now allow cron tasks to be run.

You can use the crontab to run your script constantly, using a simple
while() loop which checks if $stop is not set to 1 etc. Then to stop
script all you do is set $stop to 1.
Have your program/script stuff going on within the while loop.

Maybe you knew this, but for all the other peeps reading, thats one of
the ways.

Russell

 

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

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