Re: [PHP] Best Approach

2008-01-30 Thread Jochem Maas
it aint PHP ... but I've just fall in love with this: http://www.capify.org/ which won't help if any of the servers in question are windows boxes unless you can install cygwin on there (I'm guessing that would allow it to work). although from reading your post I gather you have to perform the tas

Re: [PHP] Best Approach

2008-01-22 Thread Richard Lynch
On Mon, January 21, 2008 5:55 pm, Miguel Guirao wrote: > Is PHP a correct approach to solve this tedious problem?? Can I access > a > servers and get the results of a ls command for instance?? I would use PHP, personally, since I know it best. It might be easiest to install PHP on each box, and h

RE: [PHP] Best Approach

2008-01-22 Thread Jay Blanchard
[snip] Is PHP a correct approach to solve this tedious problem?? Can I access a servers and get the results of a ls command for instance?? [/snip] You can use some of PHP's functions, such as readdir() (roughly an ls in PHP land http://www.php.net/readdir ). You can also use exec (to execute) and

RE: [PHP] Best Approach

2008-01-21 Thread Bastien Koert
sure, why notyou can exec most of the commands and log all of the results to a file that you can email yourself bastien > Date: Mon, 21 Jan 2008 17:55:11 -0600 > From: [EMAIL PROTECTED] > To: php-general@lists.php.net > Subject: [PHP]

Re: [PHP] Best Approach

2008-01-21 Thread Chris
Miguel Guirao wrote: Hello fellow members of this list, There is a couple of rutinary tasks that our servers (different platforms) perform during the night. Early during the day, we have to check that every task was performed correctly and without errors. Actually, we do this by hand, going firs