How can an agent contact a SRVPGM?

I am developing an application where a Domino agent will be scheduled to run, either once, or on a regular basis. What that agent will need to do when it runs is notify a SRVPGM (running as a Domino task) that it is time to start doing it’s job.

Can someone tell me how the agent can notify the SRVPGM that it should start and what the SRVPGM should look for to determine when it is time to run (I’m presuming it will be sleeping in a unending loop waking up every so often to check if it should do actual work)? Thank you.

Subject: How can an agent contact a SRVPGM?

Hi,

If you are trying to run a program under domino, you can try to send a console command.

If you can do a “load pgm” in your server’s console this can be done.

Now, if you are trying to run another program in a different path, you should create a CL to set environment then run the program, and you run this CL under domino, as in the previous example.

Regards,

Daniel