Subject: How to set Time for Scheduled Agents programmatically ?
NO because most of this is performed from the designer client. IF you look at the notesagent lotusscript class there is not a method or property listed for the scheduling of an agent.
Anything you want to do is limited to what the lotusscript class allows.
Subject: How to set Time for Scheduled Agents programmatically ?
There is sample code for Windows here. If you really mean it when you specify “All Platforms”, then you will have a lot of work to do on it.I wonder what you mean when you specify “All Releases”. In Notes 6 I suppose you can use DXL to set the time very easily, but I have not tried it.
Subject: RE: How to set Time for Scheduled Agents programmatically ?
By “All Releases”, I meant all Notes Releases 5.x and 6.x. But since I am going to be using Notes 6.x, if I am able to set the Scheduled Agent start time programmatically in Notes 6.x, a solution for 6.x should work for me.
Subject: How to set Time for Scheduled Agents programmatically ?
This is a work-around… you can schedule the agent to run every half hour or so. Wrap the whole agent in an if statement that checks to see if it’s supposed to run. It will run every half hour, but only do the real code when the if statement evaluates as true.