15.3.18 Settings for monitoring a network file by using a file monitoring job
This section describes the procedure for specifying the settings for monitoring a file by using a file monitoring job via a network. For notes on configuring these settings, see 7.6.2 Notes on the Monitoring Files job in the JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide.
- Organization of this subsection
(1) Definition procedure
-
Stop the JP1/AJS3 service.
Execute the following commands to confirm that all processes have stopped:
# /etc/opt/jp1ajs2/jajs_stop#1 # /opt/jp1ajs2/bin/jajs_spmd_status
- #1:
-
Confirm that automatic termination has been set.
-
Execute the following command to set the environment setting parameter described in (2) below:
jajs_config -k "definition-key" "parameter-name-1"=value-1 ["parameter-name-2"=value-2]
-
Restart JP1/AJS3.
The new settings are applied.
(2) Environment setting parameter
Definition key |
Environment setting parameter |
Explanation |
---|---|---|
[{JP1_DEFAULT|logical-host}\JP1AOMAGENT]# |
"NetworkFilewatch"= |
Sets whether to monitor a file by using a file monitoring job via a network. |
"NetworkFilewatchTimeout"= |
Timeout period before a monitoring files job cancels the processing for acquiring information on a monitoring target file when monitoring network files. |
- #:
-
The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.
For details about the definition of these environment setting parameters, see the following: