Using the wait function
From: Anne (apembert_at_hq.nasa.gov)
Date: 05/29/03
- Next message: davehinz_at_spamcop.net: "Re: Need people for full time positions"
- Previous message: Varshney: "Need people for full time positions"
- Next in thread: Barry Margolin: "Re: Using the wait function"
- Reply: Barry Margolin: "Re: Using the wait function"
- Reply: Bill Marcum: "Re: Using the wait function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 29 May 2003 06:55:06 -0700
Hello,
I'm using both tar and gzip in a script which also writes to a LOG
when both
functions have been done. But it seems that only the tar is getting
done, and
not the gzip.
I'd like to use the "wait" command, but should it be used between the
two functions, or after such as in the example:
tar -cvf $FILE dumps
echo "$FILE created" >> $LOG
gzip $FILE
wait
echo "$FILE was gzipped" >> $LOG
Still learnign scripts.
Thanks for any suggestions/advise.
Anne
- Next message: davehinz_at_spamcop.net: "Re: Need people for full time positions"
- Previous message: Varshney: "Need people for full time positions"
- Next in thread: Barry Margolin: "Re: Using the wait function"
- Reply: Barry Margolin: "Re: Using the wait function"
- Reply: Bill Marcum: "Re: Using the wait function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|