You are here: Re: question « PHP Language « IT news, forums, messages
Re: question

Posted by jurij.rosenthal on 03/19/07 08:43

On Mar 19, 12:45 am, "Alan Larsson" <newsgr...@alstown.com> wrote:
> 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.
You hopefully talk about Linux.

Here is how I would do it: Set up cron (using crontab -e) so that
it executes a script that checks periodically for a file (for example;
I think this is easier). This file is created by a Php or Perl script
run
in the web server. If the file exists the script triggered by cron
executes the predefined scheduled task.

Hope it helps.

Cheers
Jurij

 

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

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