3

How to run Background process one after another

view full story
linux-howto

http://www.unix.com – Hii Friends, I am using Perl CGI. I am running A SCP Command via Perl CGI in Background. Like Code:     system("scp -r machinename:/PathOfFile/ /Path/WhereToCopyIt/  &) This Copy Process takes some times lets say 15 min. Now I want When This copy process gets complete then send me an email. But My problem is This command is running in Background So How can i send a mail. I know how to send Mail but i don't know how to send mail when process is running in Background. Please help me out? (HowTos)