Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Laugman

  1. Laugman

    Need to mirror a directory to a remote server

    You could have the shell script check the system process list for a duplicate instance of itself using something like... if [ `ps -ef | grep -c ${0}` -gt 1 ]; then echo "Previous instance of ${0} still running." exit 1 fi ...this will display the sample error message and stop the new...
  2. Laugman

    Hash Key Disappearance

    I've inherited the following perl code fragment.... 1 %Returned = dbPrepare( %Input ); 2 if ( $Returned{nStatus} == 0 ) { 3 %Input = ( nDbCursor => $Returned{nDbCursor} ); 4 %Returned = dbExecute( %Input ); 5 } 6 if ( $Returned{nStatus} == 0 ) { 7 # FINISH...

Part and Inventory Search

Back
Top