I am executing s3cmd command with shell_exec in php. Everything is working fine . Only thing is how to send an email when the s3cmd process is finished. I am trying the below code
shell_exec('export HOME="";s3cmd -c /home/.s3cfg ls email@yahoo.com > /dev/null 2>/dev/null &');
Any idea to solve this issue