Solved

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

Posted on 2010-09-03
3
493 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IBM Enterprise Integrator - ZID File 1 169
VBA Lotus notes 2 195
Lotes Notes 8.5.3 std can not open calendar 2 99
Split Domain with Lotus Domino and Zimbra mail server. 5 79
For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now