Scheduled Agent not in Agent manager

Hello,

I try to create an agent schedule daily with no target (no document selected).

The agent must run on Domino Web Server Log database (domlog.nsf). I made a copy of this database to work on a small amount of data to develop this agent. It works fine and the schedule is working.

After that, I copy this agent in Domino Web Server Log. This agent is running fine manually but the agent manager is not keeping the schedule of the agent !

I searched on the Internet a solution and finally tried to modify the template of the database (domlog.ntf) to test if it could fix the problem, but no.

I also tried to restart the Amgr process, but it didn’t work.

The agent appears in the Agent Manager when I save it on the designer (it executes once), but it disappear just after.

I tried to sign the agent with the server or with me (I am the manager of the database).

Did I miss something ? A parameter ?

I precise that I just learn how to develop in Domino Designer so I must have missed something !

Thanks for your help.

Subject: It’s got to be simple…

  • It runs when you save it in Designer, which means the server to run on, access rights, execution times of day, and other basic parameters are correct. When a scheduled Agent is saved, Designer generally resets its execution parameters, so the server thinks it hasn’t run yet, and Agent Manager runs it fairly quickly.

  • Try setting this to run all day every hour and see what it does. If it triggers once you may then disable it to keep it from running a second time (it will keep running once started). Then you will at least see it run automagically and you’ll have more information.

Hope this helps…

Subject: The queue only keeps work it needs for the next day up to the time of refresh.

It will appear in the queue on the day it will run again.You can also run a diagnostic expert system from the designer called test. It will report on the most common mistakes that would cause an agent not to run. However, since you saw it run once I suspect nothing wrong,

it just not the right time for it to be in the queue yet.

Subject: Finally it works…

It appears that the Agent is now scheduled…So the agent manager is only updating once a day and you can’t force it?

Thanks for your answers :wink:

Subject: time of execution

what time is the agent set to run? most likely remains at the default of 1:00AM. If it’s past the time of execution for the day you will not see it listed when issuing the “tell amgr sched” command.