BackgroundJobs.json
(This function can be tried with the "Pleasanter Extensions Trial".)
Cautions¶
- When changing parameters, please refer to "Confirmation When Changing Parameters".
- When editing this file, refer to "Queuing" as well.
Setting Values¶
The setting values of this parameter file are as follows.
| Parameter name | e.g. | Description |
|---|---|---|
| BackgroundQueue | true | Specify with true/false whether to enable the queue method. The default value is false. |
| BackgroundJobDispatcherInterval | 60 | The time interval (in seconds) for checking the queue to retrieve a job. The default value is 60. |
| BackgroundJobTimeout | 3600 | The threshold for displaying a warning message on the "Queue Management" screen that a job has been running for a long time. The default value is 3600. Specifying 0 disables it. |
| FallbackLanguage | "ja" | The language for displaying result messages. If it is not set, the value of DefaultLanguage in "Service.json" is used. |
| RecoverAction | "Failed" | Defines how jobs that were "Running" are handled when recovering from a failure. "Failed" (default) Sets jobs that were "Running" to "Error". "Pending" Returns jobs that were "Running" to "Waiting" and re-registers them at the end of the queue. |
| OutputFilePath | ・For Windows C:\\Output ・For Linux /var/opt/pleasanter/output | Sets the destination for files related to jobs, such as export output files. The path must be set appropriately for the environment. Escape the path separator \ of a Windows environment as \\. In addition, access permission for the target folder must be granted to IIS_IUSRS. |
| InputFilePath | ・For Windows C:\Input ・For Linux /var/opt/pleasanter/input | Sets the destination for files related to jobs, such as import input files. The target file is deleted when the import is complete. The path must be set appropriately for the environment. Escape the path separator \ of a Windows environment as \\. In addition, access permission for the target folder must be granted to IIS_IUSRS. Do not set a directory where static file delivery is enabled, such as under wwwroot. |
Supported Versions¶
| Supported versions | Body |
|---|---|
| 1.5.6.0 and later | Added BackgroundJobs.json |
| 1.5.7.0 and later | Added InputFilePath |