09-22-2010
406,
72
Join Date: Jul 2010
Last Activity: 10 July 2018, 5:08 PM EDT
Location: Somerset, UK
Posts: 406
Thanks Given: 0
Thanked 72 Times in 70 Posts
Is the wget running as a foreground process or a background process?
If it is the former, then you obviously know when its finished.
If its a background process that has been started in the current shell script you can "wait $!" to wait for it to finish.