Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

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…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

785 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