Shell: Sending an email after nohup command exits
Hi guys,
Just curious if this is possible. Say I put a long running process under nohup, background it then disown and logout.
Is it possible to have the system send a mail when the process exits (failed or not)?
If I can figure that out I can tail the nohup output and send myself a mail, stops me from having to login and check every now and then to see what is going on.
Thanks,
vxc
Last edited by vxc69; 05-14-2013 at 10:38 AM.
|