I don't really know Lotusscript so I have to do everything in forumula langauge. I wrote a simple agent that compares a date on a document to today's date. If Today's date is greater it emails people who are part of two names fields. If I manually run this agent it works fine 100% of the time. If I schedule it the log shows that it ran fine but no emails are generated. I'm not sure what could be causing it or what I'm doing wrong. The Agent is signed by the administrator. Any ideas?
@If(@Today > ExpirationDate;@MailSend(NotificationGroup;AutoNotify;NULL;"ALERT EXPIRED";"";"Click the doclink to view the expired alert notification: " + CustName + " ";[IncludeDoclink]);"");