Solved

How can I avoid Domino agents running immediately after saving them?

Posted on 2010-09-03
3
498 Views
Last Modified: 2013-12-18
I have a Domino database with several agents doing lengthy import and archiving jobs. I try to create a decent time schedule so that the agents won't collide and that they won't run the same time as the backup. Recently, I have found that every time I change the time an agent should run and save it, it starts running immediately!. This is very annoying for our users who suffer from bad performance when I have to change the time an agent should run.

I know that this is the way it works when you enable an agent, but it shouldn't run when you simply change the schedule, should it?
0
Comment
Question by:kasperEH
3 Comments
 
LVL 22

Accepted Solution

by:
Bill-Hanson earned 500 total points
ID: 33596031
When you save an agent, it will run immediately if it's trigger has passed for the current day.  For example, if the agent is set to run at 1AM and you save it at 8AM, it will run immediately.  If the agent is set to run at 9PM and you save it at 8AM, it should not run until 9PM.  So you could work around this by changing you schedule.

Another option is to store the run time in a profile document, then have your agent set to run every 10 minutes.  In the agent, check the profile document to determine if the agent should actually do anything or just exit.  This way, you can save the agent anytime you want since you're really handing the timing yourself inside the agent.
0
 

Author Closing Comment

by:kasperEH
ID: 33596271
Yes, of course. I should have thought of that myself. Thanks for your help.
0
 
LVL 22

Expert Comment

by:mbonaci
ID: 33605547
If a scheduled agent is edited (for example, enabled, modified, saved, or pasted), it will usually run immediately if it has missed its scheduled run. This is true for agents scheduled monthly and weekly. It is partially true for agents scheduled daily.

If a agent scheduled to run daily misses its scheduled run because it was disabled, it will run if it is enabled within half an hour of the scheduled run. However, If a scheduled agent is saved, pasted, or modified, it will run immediately if it has missed its schedule.

http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/topic/com.ibm.designer.domino.main.doc/H_TRIGGERING_AN_AGENT_ON_A_SCHEDULE_STEPS.html
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question