| 
| Subject: | I use it to shutdown/suspend our VMs... | 
|---|
 | Summary: | Package rating comment | 
|---|
 | Messages: | 2 | 
|---|
 | Author: | Sceptre | 
|---|
 | Date: | 2012-04-23 15:43:15 | 
|---|
 | Update: | 2012-05-14 05:59:32 | 
|---|
 |  |  |  | 
Sceptre rated this package as follows:
| Utility: | Sufficient | 
|---|
| Consistency: | Good | 
|---|
|  | 
  Sceptre - 2012-04-23 15:43:15I use it to shutdown/suspend our VMs and shutdown the server after that. I added the poerOFFServer method to handle this:public function powerOFFServer( )
 {
 $response = $this->exec( "shutdown.sh && poweroff" );
 if ( stripos( $response, "Time:" ) === false )
 return false;
 
 return true;
 }
 
  jomajo - 2012-05-14 05:59:20 - In reply to message 1 from SceptreHello.
 Could you can provide a solution how to use this great class?
 
 Thanks!
 |