Reply to Re: PHP to edit files

Your name:

Reply:


Posted by coyoteboyuk on 07/18/06 15:40

Rik wrote:

> Very possible, not even that complicated.

Excellent, thats good to hear.

> At specific times: hardly doable with PHP. Something has to trigger the
> script. With the proper access, you might schedule loads and loads of
> different cronjobs at specific times, but that's hardly a workable solution.

True enough, i see your thinking.

> As it's about email, the "specific" time doesn't really matter though, you
> can't predict how long an e-mail will take to arrive.

I was hoping to be accurate to + or - 5 minutes, approximately, i think
thats fairly achievable with technology the way it is now, any more
accurate is unncessary.
>
> I'd just schedule a cronjob every 15 minutes or so, that queries the
> database for tasks to perform. That should do it. If cronjobs aren't
> possible, you could trigger it on site visits. If you've got a popular page,
> you don't want to trigger it verey time. Add a possibility you will trigger
> the script. Possibility = 1 / (average visitors per interval)
>

Right, I'll go with the cron option as i know it fairly well - i'll
have a bash at working up a script that will check the database and
I'll also have a crack at site as a seperate entity. Thanks for the
pointers - cleared up my approach method, thanks very much.

James

[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

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