Support > Administrator's guide (R7) > ZIP compression (original file delete) job
ja | en

You can zip specific files (or folders). The compressed original file / folder will be deleted.

The ZIP compressed job is assumed to be used as follows.

  • Compress the log file (logs folder) after a certain period of time has passed.
  • Export jobRun after and compress the export folder.
Figure 1 Job settings
Before doing this setting,Prepare job execution accountplease.
  1. Log on with an account with administrator privileges.
  2. Open the "Job Management" "Job Schedule Search" screen from the menu.
  3. Click the "Register Screen" button to register a new job schedule.
  4. Select "ZipArchive" from the job name."Zip compression (original file deletion)" is displayed in the explanation column below that.
  5. Write job parameters.[To be described later]
  6. Specify scheduleTo do.
  7. Check the "valid" flag.
  8. Enter the account and password to run this job.Job execution account setting is "Preparation: Enable job execution accountPlease read.
  9. Register the job schedule.The job will be executed at the specified time.

The original of the file compressed by this job is deleted.

You can specify more than one parameter to specify for the job. The parameters that can be specified here are as follows.

Parameter name Required Description Description example
dir Specify the target folder.The starting folder is "wagbyapp \ bin".Each file (and folder) contained in it is compressed instead of the target folder itself. To specify a log folder
..\logs
When specifying an export folder
..\..\export
mdate Target files that have passed the specified number of days since the last update.In the format, I write numbers directly. 7 (Files that * 7 days passed)
mtime We will target files that have passed since the last update since the specified time.The format can be HH: mm or HH: mm: ss.When used with mdate, mtime takes precedence. 3:00 (※ 3 hours have passed)
exclude Files matched by regular expressions are excluded.Multiple patterns can be specified by specifying exclude 1, exclude 2, ... with numbers at the end. . * Zip $ (Do not exclude files ending in "zip")
maintenance When executing this job, specify whether to switch to maintenance mode.Default is "true" (maintenance mode is applied). false
maintenanceOption Specify how to respond to the account that was logged on when switching to maintenance mode.[Optional] Logout: Force logout of the account logged on before job execution.
Fail: If there is an account logged on before job execution, cause the job to fail.
(Default): Switch the mode while leaving the logged on account unchanged.
The mdate, mtime, and exclude specifications are applied to the target file or the target folder of the first hierarchy.All files and folders contained in the target folder are subject to compression.
The execution result of the job is described in the log file (system.log).
If more than one parameter with the same name is defined, the last parameter is valid.

You can temporarily disable the job.

  1. Log on with an account with administrator privileges.
  2. Open the "Job" "Job Schedule Search" screen from the menu.
  3. Search the applicable "Job Schedule" and open the maintenance screen.
  4. Uncheck the "Enabled" flag and save it.
    Figure 2 Disable Job

You can send the job execution result by e-mail.

Multiple job execution can not be performed.

If you make a job start every minute, if execution of this job is not completed in 1 minute, a new job will not be executed.

Instead of specifying time, you can also run this job now."Execute job immediatelyPlease read.