Can someone please let me know if I have this is correct - I've sort of tested it and it seems to work but I need a second opinion.
I'm hoping someone will agree that it will only call the RUN line if the size is over 20 gig ?
I'm hoping someone will agree that it will only call the RUN line if the size is over 20 gig ?
$mail_que = FileGetSize('C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue\mail.que') $mail_que = $mail_que / 1024 If $mail_que > 20000000 Then Run('c:\matt\mail_que_email_alert.exe', 'c:\matt') EndIf Exit