Solved

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

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 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

19 Experts available now in Live!

Get 1:1 Help Now