ND6: Control agent execution via console command (amgr)
madicon.de/Tipps & Tricks/ND6: Control agent execution via console command (amgr)

ND6: Control agent execution via console command (amgr)

IBM Lotus Notes/Domino version 6 and later offers a useful enhancement to the amgr (Agent Manager) console command.
Without having to change the trigger (schedule, modified or new documents, incoming mail, etc.), any agent can be started or stopped via a console command.
Agents can be started as follows:
TELL AMGR RUN "databasename.nsf" 'AgentName'
There is also an option to stop a running agent:
TELL AMGR CANCEL "databasename.nsf" 'AgentName'
 
Note
When entering the commands, please make sure to use the surrounding double quotes for the database parameter and the surrounding single quotes for the agent name.
 

Amazon Affiliate Link
notion image