Changeset 22


Ignore:
Timestamp:
Apr 2, 2016, 4:54:18 PM (8 years ago)
Author:
gegorbet
Message:

fix us3 baseon listen.php and status_ex=EXECUTING handling in gridctl.php

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gridctl.php

    r18 r22  
    688688      if ( $status_ex == 'EXECUTING' )
    689689      {
    690          if ( $status_gw == 'SUBMITTED' )
    691             $status_ex    = 'QUEUED';
    692690         if ( $status_gw == 'RUNNING' )
    693691            $status_ex    = 'ACTIVE';
     692         else
     693            $status_ex    = 'QUEUED';
    694694      }
    695695
  • trunk/listen.php

    r18 r22  
    22
    33$us3bin = exec( "ls -d ~us3/lims/bin" );
     4$us3etc = exec( "ls -d ~us3/lims/etc" );
    45include "$us3bin/listen-config.php";
    56
     
    1819$php = "/usr/bin/php";
    1920
    20 $cmd = "/usr/bin/nohup $php $home/lims/bin/manage-us3-pipe.php >>$home/lims/etc/manage.log 2>&1 </dev/null &";
     21$cmd = "/usr/bin/nohup $php $us3bin/manage-us3-pipe.php >>$us3etc/manage.log 2>&1 </dev/null &";
    2122
    2223exec( $cmd );
Note: See TracChangeset for help on using the changeset viewer.