A simple way of setting up an agent to send an e-mail every 2 months?

1. In R5, Is there a simple way of setting up an agent to send an e-mail every 2 months? Every attempt I have made using simple actions, formula language or LotusScript seems to require multiple agents with convoluted logic.
You don't need more than one agent. Schedule it to run monthly, and add logic to the agent to check what month it is and skip on out of there if it's not the right month. For instance, a macro agent set to run monthly on the 5th might send mail only in odd-numbered months with a formula such as: @If(@Modulo(@Month(@Today); 2) = 1; @MailSend("Contributors List"; ""; ""; "Submission reminder"; "Submission deadline is in five days ? please don't forget to PUB YOUR ISH!"; ""); "" ) In LotusScript, you can use the equivalent expression Month(Today) Mod 2 to tell whether this is an odd-numbered month. For odder intervals, e.g. on the first and third Tuesdays of every month, run the agent daily or weekly and write similar logic to test whether today is the right day. If your agent is processing new and changed documents since its last run, you should use LotusScript, so you can save unprocessed documents for the next run by simply failing to call NotesSession.UpdateProcessedDocument.

Dig Deeper on Domino Resources - Part 2

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...