Basic information
Package: com.suncode.plugin.tools.scheduledtask.ArchiveEncryptionTask
Available from version: 1.0.25
Description
The task encrypts unencrypted files in the selected document class in the archive. For correct operation, the class in the archive must have the encryption options enabled. The search for files is limited to the given date range (file creation date). The task has a built-in timer after which it stops running. The time limiter can be set using the parameter, giving a numerical value that specifies the maximum duration of the task in hours.
Configuration parameters
Parameter name | from version | Description | The type of the parameter | Notes and Restrictions |
---|---|---|---|---|
Document class name* | 1.0.25 | The name of the class in which the files will be encrypted | String | The class must have encryption options set |
File creation date (from)* | 1.0.25 | Minimum file creation date | Date | |
File creation date (until)* | 1.0.25 | Maximum file creation date | Date | |
Maximum task runtime (in hours)* | 1.0.25 | The scheduled task will be terminated after exceeding the specified hours execution time | Number | |
Maximum number of files processed in parallel* | 1.0.25 | Maximum number of threads used to process files. The value should be in the range 1 - 50. | Number | The more threads, the faster the operation, but it also places a heavy load on the server |
Progress logging interval [seconds]* | 1.0.25 | The time between logging file processing progress, counted in seconds. The log is displayed if the number of processed files has changed. | Number | The absolute value of a given number is taken. For value 0, 1 second is inserted. |
Turn off the task when finished* | 1.0.X | A parameter that allows you to disable a scheduled task after it is properly run for the first time. Useful when the launch is scheduled in the future and we want to disable it after the first launch | Boolean | Values: true/false |
Sample configuration
Change log
1.0.25 (applicable documentation)
- Create a scheduled task
1.0.X (applicable documentation)
- Add parametr: Turn off the task when finished*