Definition file for the task practice service (jp1imss_service_setting.conf)
- Organization of this page
Description
This file defines the times or the intervals for automatically executing commands for Item information count (jsscollectdata), for registering Items by email (jssitementrybymail), for sending notifications before deadlines (jssinformperiod), and for notifying of held Items (jssinformleave). After you edit this file and restart the JP1/Service Support - Task Service service, the above commands are executed automatically.
Format
;comment [jsscollectdata] use=false basetime=02:00 : [jssitementrybymail] use=false period=60 : [jssinformperiod] use=false basetime=03:00 : [jssinformleave] use=false period=60 monitorStart=08:00 monitorEnd=18:000 :
Lines starting with a semicolon (;) are treated as comments.
File names
-
jp1imss_service_setting.conf (Definition file for the task practice service)
-
jp1imss_service_setting.conf.model (Model Definition file for the task practice service)#
- #
-
You can use the model file to reset the contents of the Definition file for the task practice service. To do so, delete the existing Definition file for the task practice service, then copy and rename the model file.
Storage folder
JP1/SS-path\conf\
When the definition is applied
The definition is applied after the JP1/Service Support - Task Service service is restarted.
What is described
The following is the format of the Definition file for the task practice service:
[Section] Key=value Key=value :
You can specify the specification keys described in the table below for each section. Use an equal sign (=) to connect a specifiable key and its value.
Element |
Description |
Default value |
|
---|---|---|---|
Section name |
|
Specify the name to identify the command you want to execute. You can specify only the values listed on the left. |
Each section name is described in the applicable model file. |
Specification key name |
use |
Specifies whether to execute the command.
|
false |
basetime |
When the section name is jsscollectdata or jssinformperiod, specify the time from 00:00 to 23:59 to execute the command in the hh:mm format. To execute a command at the specified time, you must start the service in advance. |
|
|
period |
When the section name is jssitementrybymail or jssinformleave, use a number to specify the interval for executing the command in minutes. The following are specifiable values:
|
60 |
|
monitorStart |
When the section name is jssinformleave, specify the time to start monitoring from 00:00 to 24:00 in the hh:mm format. |
None |
|
monitorEnd |
When the section name is jssinformleave, specify the time to end the monitoring from 00:00 to 24:00 in the hh:mm format. If you specify a time before the value set for monitorStart, it is regarded as the time on the following day. For example, if you set 21:00 for monitorStart, and 08:00 for monitorEnd, the status is monitored from 21:00 to 08: 00 on the following morning. If you set the same time for monitorStart and monitorEnd, the status is continuously monitored. For example, if 00: 00 is set for monitorStart, and 00: 00 or 24:00 is set for monitorEnd, the status is endlessly monitored. |
None |
Notes
-
If you want to execute commands that are executed when the JP1/Service Support - Task Service service stops, such as the jssrev or jssdbbackup.bat command, from another program regularly, consider the optimum execution time before you set the time for the service to execute such a command.
-
When a command is executed at the specified time, no command is executed when the next specified time comes if the first command is not finished processing. Because of this, if it takes longer to process the first command, the following commands might be executed later than the specified time.
-
If you change the Definition file for the task practice service (jp1imss_service_setting.conf) while the JP1/Support Service - Task Service service is running, you must restart the service.
-
If you start the JP1/Service Support - Task Service service when all use key values are false, the service will fail to start. If you want to start the JP1/Service Support - Task Service service, you must set true for at least one of the use key values.
-
The Definition file for the task practice service (jp1imss_service_setting.conf) must be created or edited with a character encoding that is compatible with the system locale of the machine on which JP1/Service Support is installed. You can use one of the following character encodings:
-
In a Japanese environment: MS932
-
In an English environment: ISO-8859-1
-
In a Chinese environment: GB18030
-
Definition example
The following is a definition example when the command (jssinformleave) for notifying held Items is executed at 60 minute intervals from 9:00 to 12:00:
[jssinformleave] use=true period=60 monitorStart=09:00 monitorEnd=12:00
Set monitorStart to the time to start monitoring held Items, and set monitorEnd to the time to end the monitoring. The command for notifying held Items (jssinformleave) is executed at the intervals specified by period starting from the time when JP1/Service Support - Task Service service was started. If you want to adjust the timing of execution of jssinformleave, you must consider monitorStart, monitorEnd, period, and the start timing of JP1/Service Support - Task Service service. As shown in the above example, if you want to set the time to start executing jssinformleave to 9:00, you should start JP1/Service Support - Task Service service at 8:00.