Scheduled Agents

Hi,

What are the criteria’s for running a scheduled agent daily on server A.How do i test whether a scheduled agent is running or not and if it is not running how can i debug that???

Subject: Scheduled Agents

Your first question is very general. Here are some points to observe.

Don’t use UI classes (LoutsScript) or @Commands.

Pick the right server (or any server) to run the agent on and make sure that the server is available at the scheduled time(s).

Ensure proper security level and agent signer’s rights.

Choose the correct agent type (Modify documents or Create new documents).

Make the agent shared, not private.

To see, if an agent ran, you can always check it’s log: Right click the agent and click on Log. You can also have your agent print to the server log (LotusScrip: Print or Msgbox). You can also setup a seperate AgentLog database and have your agent log to that.

Scheduled LS agents can also be debugged using the remote debugger, but that doesn’t make much sense unless you know, that your agent is running at all.