10 Feb
2017
10 Feb
'17
1:26 p.m.
Using what you'd provided, here's what I'd put in your alerts.cfg
HOST=NMSRep SERVICE=LogMasterErr,NMSRepScheduler,NMSRepTask,RepDisc_Issues COLOR=red,yellow,purple RECOVERED SCRIPT /usr/local/scripts/html_mail.pl $NG-NMSRep-DEV DURATION>7d DURATION<14d REPEAT=1d
I moved the duration rules down to the "SCRIPT" line. I also added a 2nd duration rule to demonstrate you could time box this. The script will fire once per day for 7 days, after 7 days.