: 24 : 24 : 0 |
Problem today!
I would like to have the possibility to put agents on the amgr schedule list programmatically.
This can then be used to reduce the number of agents that runs every 5 min only to see if it has something to do. Enabling this kind of triggering would allow having a master agent which can trigger other agents as needed and still utilizing the runtime limitation of the amgr on the triggered agent. Possible solution: Add an option to amgr to make it possible to add an agent to the schedule list.
Example: tell amgr add 'db-path' 'agent-name' '18:15'
Would put the agent on the scheduled agent list to be run at aprox. 18:15.
or
Let the runtime limitation work on agents started with tell amgr run
or
Extending the NotesAgent class with a method like addToSchedule(NotesDateTime)
or
Extend NotesAgentClassRunOnServer with something like this:
RunOnServer( [ noteID$ ] , [runInBackground as Boolean])
Utilizing the runtime limitation of course.
Related to the comments on this idea
Related to, but not the same as this since my suggestion is a single triggering.
|