You want an agent to automatically run each time a Lotus® Domino® server starts up. How can this be accomplished?
In version 7.x or earlier you can create a Program document set to run “at startup” in the Domino Directory. For example, on a Windows® platform, the Basics tab of such a Program document would look like:
Program name: nserver
Command line: -c “tell amgr run ‘database_name.nsf’ ‘agent_name'”
Note that both the database name and agent name must be in single quotes.
In Notes 8 there is a new feature in the agent properties.