Reply to Re: exec() in the background

Your name:

Reply:


Posted by shortbackandsides.no on 02/17/06 02:01

On 15 Feb 2006 10:57:15 -0800, "Redfox05" <redfox05@gmail.com> wrote:

>
>shortbackandsides.no@spam.hairdresser.net wrote:
><snip>
>> I'd like a way of reconnecting to a background script via a browser
>> ... anyone?
>
>This is a complete guess, as ive done similar stuff, but not exactly as
>below.
>How about putting in something that checks for the presence of a
>certain file. maybe /dir/stop.txt or anything.
>
>Only done cron things upto now to run the script every so often, plus
>running php script from command line and interacting with on the spot
>user input, which is cool. Even got it interacting with mysql so i
>could get info like i was using a normal program.
>
Good thinking, I'll give it a try.

I needed a background script because my hosting company only let me
run one CRON task every 24 hours. I wrote something to poll all my
active domain names and log server downtime. I'm not too happy about
leaving the task going 24x365 though, I suspect the hosts will regard
it as going outside their AUP.

On reflection, I could just set the logfile to read only and let the
script error when it finds it can't write.

[Back to original 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

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