Run Lotus Notes Agent quarterly

Posted on 2012-08-15
Last Modified: 2013-12-18
I have a Lotus Notes agent that I want to schedule run quarterly. How can I do that? I see there is an option to run daily, weekly, and monthly but no quarterly.
Question by:coronoahcoro
    LVL 46

    Expert Comment

    by:Sjef Bosman
    There is no such option. Choose one of the other options, and decide at the start of the agent if the agent should continue or not. For the sake of flexibility we had a daily agent that executed the main code only weekly. A configuration document determined when it was to execute. The other days it ran and terminated directly after testing the day of the week. You can do something similar in your code: run the agent monthly and terminate the agent two out of three times.
    LVL 43

    Accepted Solution

    Agreed, I do the same with various agents to give users control over their execution without needing design change.  Schedule it daily, or several times daily as appropriate and then check configuration profile/document for that one to see when they want it to run.

    In this case put it on monthly, set day to 1st or whatever and then check month(today) at the top, i.e.

    Select Case Month(Today)
          Case 1,4,7,10
          Case Else
                ' Record in log not for today please...
    End Select


    IF (month(today)-1) MOD 3 = 0 then
       ' Is Jan, Apr, July, October
    End If

    LVL 46

    Expert Comment

    by:Sjef Bosman
    LVL 43

    Expert Comment

    by:Steve Knight
    For 200 point question bit much info... oops!
    LVL 43

    Expert Comment

    by:Steve Knight
    Thanks for the grade and tipping me onto the next certification in this zone.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Suggested Solutions

    Title # Comments Views Activity
    Lotus Notes 8.5 1 133
    Text over two lines in VBA for email 26 151
    Lotus Notes Database "Invalid NSF Version" 5 1,452
    Lotus Domino Server 9 4 66
    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…
    This is an old article, please see an updated version of this article, located here:
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    759 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

    13 Experts available now in Live!

    Get 1:1 Help Now