Send a server command through formula

Hi!Is there any way to send a server command (e.g. “load catalog”) but using @formulas?

Thanks!

Subject: Send a server command through formula

Don’t know of a way in formula but you could just code a script agent and call it from formula if needed using toolsrunmacro:

Dim session As New NotesSession

serverName$ = “Your server name”

consoleCommand$ = “Load catalog”

consoleReturn$ = session.SendConsoleCommand(serverName$, consoleCommand$)