Solved

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

Posted on 2010-09-03
3
501 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Lotus Notes 8.5 1 166
Lotus notes email code 2 131
DIIOP IP Addresses Changes Automatically 5 114
Replace Database Design 5 12
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

738 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