Wake up a Headless client running as a background process

Hello,

I want to know the following:

Is is possible to let a Headless Client run as a background process and let it sleep until some other process wakes it up.

For example:
I receive a file by a post using a jsp-page. The jsp-page puts the file on disk and calls a headless client. I would be great if this headless client could wake up the other headless client that is running in the background.

Is this possible. or should the process which is running in the background check each 5 seconds if there is some work to do?

I think this could be done with the Robot-Plugin. It allows you to call a method in the solution of another user (client). Search the forum for more info.