You can take a look at phing, a php buildtool inspired by apache's ant:

    http://phing.info/trac/

You can use phing with the ssh2 extension and do what I think you are
trying to do.

-- Mitch

On Mon, Jul 20, 2009 at 12:13 AM, Konstantin Rozinov<[email protected]> wrote:
> Hey guys,
>
> I'm trying to run the same php script via the command line interface
> on several remote servers.
> I'd like to do it securely preferably over ssh.  Right now, I'm using
> the ssh2 class from php, but getting very inconsistent results
> (sometimes the script runs, sometimes it doesn't via ssh2_exec)
>
> What do people use to run scripts on production machines?
>
> Thanks,
> Konstantin
> _______________________________________________
> New York PHP User Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/show_participation.php
>
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show_participation.php

Reply via email to