title: Control M job shout/send email on a condition
body: <p>I am new to Control M. I need to create a job. My job should call a shell script where I need to check whether a file has been received or not. If not, I need to send an email to a list and if so,I need to retry the job after some time. If the file is received, then I just need to execute a script and there is no need for rerun. Please help me how do i do it.</p>
  
  <p>I have created the script that checks if the file has received or not in the required directory. How do I pass the information to the control M job to send the email from control M steps tab. Also how do I control the rerun if the file is received.  Please help.</p>