Automatically Run An Agent When Server Starts

April 17, 2008 – 8:29 am

SnTTYou 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.

Related posts:

  1. VMWare Server on Lenovo S10e
  2. Error moving user to another server
  3. AutoPopulateGroup – Scheduled Agent
  4. Information About Server Mail Rules
  5. Troubleshooting Script for Notes Scheduled Agents (and Agent Manager)

  1. 2 Responses to “Automatically Run An Agent When Server Starts”

  2. When you change nserver to $server you can use it with all plattforms.

    Best regards
    Frank Hüttner

    By Frank Hüttner on Apr 17, 2008

  3. Don’t you need double-quote characters around the database_name.nsf argument for the “tell amgr run” command?

    By Richard Schwartz on Oct 27, 2008

Sorry, comments for this entry are closed at this time.