Prevent agent from running after being saved
Category None
Bookmark :
It often happens that an agent that is supposed to run once per day immediately runs after the agent is being modified and saved although the agent already ran that day.
I always try to prevent that from happening by setting the agent schedule to start running as of tomorrow. Today I learned that ever since Domino 7 there is also a notes.ini setting preventing the agent from running. Just add Amgr_SkipPriorDailyScheduledRuns=1 to your server notes.ini!
Bookmark :
It often happens that an agent that is supposed to run once per day immediately runs after the agent is being modified and saved although the agent already ran that day.
I always try to prevent that from happening by setting the agent schedule to start running as of tomorrow. Today I learned that ever since Domino 7 there is also a notes.ini setting preventing the agent from running. Just add Amgr_SkipPriorDailyScheduledRuns=1 to your server notes.ini!
- 


Comments
Thanks!
Posted by Joseph Hoetzl At 19:56:43 On 06-07-2009 | - Website - |
The other benefit I achieve using this method is that I can trigger the logic both manually and on schedule, so I can make/test changes to the logic based on whether or not the session is being run on the server.
Just another way to skin the cat I guess!
Posted by Terry Boyd At 02:57:21 On 08-07-2009 | - Website - |
But once in a while we do have to open the agent and re-save it because of "Error Loading USE or USELX Module"
Posted by Shishir Srivastava At 06:31:32 On 09-07-2009 | - Website - |