On 2001-02-18 01:08 -0500, Mordechai T. Abzug wrote:
> 
> Sometimes, I run wget in background to download a file that will take
> hours or days to complete.  It would be handy to have an option for
> wget to send me mail when it's done, so I can fire and forget.

Perhaps this will do the trick :

  #!/bin/sh
  wget "$@" 2>&1 | mail -s "wget job ($?)" [EMAIL PROTECTED]

-- 
André Majorel <[EMAIL PROTECTED]>
http://www.teaser.fr/~amajorel/

Reply via email to