Is it possible to schedule an Lotus agent for an interval of 20 hours?
I have a scenario, such that I have to schedule an agent ‘A’ by 1am and again by 9pm on the same day.
If I choose Schedule morethan once in a day, the system allows me to furnish a max of 11hrs:55mins only. But the time interval between 1am and 9pm is 20hours.
Is there any way to accomplish this task.
Currently we are using same agent code with different names A1,A2 respectively and A1 is scheduled for 1am where as A2 is scheduled for 9pm.
Please do help me in this concern, as I dont want to use the same code in two different agents and to trigger individually.
Thanks,
Subject: Regarding Lotus Notes Agent Scheduling Interval
A very simple, natural solution would be to offload all of your agent code to a sub in a LotusScript script library and use the two agents only to achieve the schedule you’re looking for.
Subject: RE: Regarding Lotus Notes Agent Scheduling Interval
Currently my code is in the way as you mentioned. My Question is there any way to use one Agent instead of 2 and schedule for 1am and 9pm as well.
Thanks
Subject: RE: Regarding Lotus Notes Agent Scheduling Interval
Hello Murugesan ,
I would also go with Harkpabst. If you still cant go with two agents I think I have a naughty idea of implementing this.Just make the agent run for every one hour and restrict the triggering of required code based on the required time.
Lets say you want the agent to be run at 9:00 am or 1:00 pm just write the code to find the server time.If it is not 9:00am or 1:00pm just exit sub.
find silly but serves the purpose but can njoy all the preveleges of Scheduled agent.
Subject: RE: Regarding Lotus Notes Agent Scheduling Interval
Thanks Ravi,
I don’t want to trigger my Agent for every hour and check the time and then to run the code. I just want to know whether there is any provision to run the agent at irregular scheduling times.
As I don’t find any way to schedule an agent irregularly, Apart from coding control, I just want to know from you guyz whether it is possible with vendor setting or not.
Thanks in advance,
-Ramesh