i have setup an ON Statement as *No Matching File or Patter Found* DO - RERUN
in the Execution Tab i have put down rerun every 2 minutes and Max rerun is 3 times.
i would like to send email alert to users group after FTP job doesn't find a file after 3 attempts. can someone please help me with this?
Thanks
Chet.
How to send email alert to users after MAX Rerun is complete
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
Looking at above scenario.i have one doubt requirnment is job should run twice after it fails and should send email automatically after it fails at 3rd time.but looking at above suggestion i guess job will send email irrespective of job status ( OK or Failed ).Rather than %%RUNCOUNT, you can do this :
On Stmt * Code RUNCOUNT=3
Do Mail To**** Sub **** Body ****
i need some suggestion where email should be sent once job gets fails in 3rd attempt.[/quote]