How it works
In this case, JobFlowExecute and JobFlowSend execute the respective PHP script not using the usual environment defined by the JobRouter URL, they use a special URL that can be either the same or another web server.
This way the JobFlowExecute and JobFlowSend modules are able to process their tasks on the service server without influencing the web server used by users. A full JobRouter installation on either the service server or web server is required.
Configuration
The JobRouter installation on the service server or another web server has to be configured to use the same database. Also, the directories have to refer to the directories of the other JobRouter installation. Only if done so, the same files will be available.
Replace the paths with the paths to your PHP and JobRouter installation in the JRSETTINGS table and add the following entry:
Setting |
setting_type |
setting_value |
|---|---|---|
jobserver_url |
jobserver |
http://yourserviceserver/jobrouter |
The execution will no longer take place on the old web server, but directly on the web server specified by the URL after restarting the JobServer service.