You are here: Re: Automated Server Scripts at Intervals « PHP Programming Language « IT news, forums, messages
Re: Automated Server Scripts at Intervals

Posted by Jonathan Wiltshire on 11/18/28 11:41

"enko" <mbyrd1332@gmail.com> wrote in message
news:1141409357.429781.247610@e56g2000cwe.googlegroups.com...
> We're going to be upgrading to a
> dedicated server within a few months and surely there is a way for the
> server to automatically run a php script at regular intervals? Maybe
> I'm just looking for the most difficult solution, but any help would be
> appreciated.

Once you've got your dedicated server, the daemon you want it called crond
if it's
Linux, or the Task Scheduler if it's Windows. Either way, you need to call
'php myscript.php'.
However, make sure your script doesn't expect to use Apache/IIS-specific
stuff, or
PHP will bail out.

If you speak very nicely with your hosts, they might set this up for you
temporarily now,
on the grounds that you're going to upgrade to a dedicated server soon
anyway.

Jon

 

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

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