The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 01-27-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,184
Try combining the channels within the script.


Code:
#!/usr/local/bin/bash
(
echo Locked Objects
time /webaplic/monitor_exp_funcional.sh NUM_LOCKED_OBJ
echo Users On
time /webaplic/monitor_exp_funcional.sh USERS_ON
) 2>&1