I have written a scheduled agent and enabled it in the local replica of my mail db. It is set to run “daily”, but has not run in over a week. I turned on agent manager debug and got the following message in my debug.out file:
02/18/2003 06:59:15 AM AMgr: Agent ‘foo’ in ‘mkistler.nsf’ is not scheduled to run before the next purge time
What does this mean? More importantly, how can I get the agent to run daily as it is supposed to?
The agent will run when you scheduled it to run, the message means it will not be put in the queue just yet because of when the schedule cache (purge time) (Mid might on the client, and defined in your server document for the server). You can find more details on how queues work in the article that I wrote that discussed scheduling “Minimizing delays in the agent manager.” (link in the Agent FAQ) There is no explicit reference to this message, but the mechanism related to the cache is described and hopefully will help you see what is going on.
Subject: RE: Scheduled agent in client does not run
The agent is not running when I scheduled it to run. I scheduled it to run daily, and it has not run in over a week. I know it hasn’t run because the agent log says so. The last line in the log for this agent says
Done running agent ‘foo’ on 02/11/2003 10:52:09 AM
The last time it ran, I ran it from the agent menu. The agent manager has never initiated the agent on its schedule.
I do have scheduled agents enabled on my client. What else do I have to do?