Reply to Re: question

Your name:

Reply:


Posted by Christoph Burschka on 03/23/07 07:48

Alan Larsson schrieb:
> Not sure if PHP is right for this... but maybe you guys can point me the
> right way.
>
> I want a website that with the click of a button by someone accross the web
> can run a predefined scheduled task on the web server.
>
> Any ideas?
>
>

What is this predefined task? Is there a shell script or program you can
already run from the command line, but want to trigger through a web
page request as well?

If Apache and your PHP settings have the sufficient permission needed to
execute system commands, then that will work - the relevant function is
system() - as in system("ls -l").

If you want to code the entire scheduled task in PHP, it will depend
more on what it actually deals with - files, database changes, etc...

--
Christoph Burschka

[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

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