By using the file delete job, you can perform operations such as periodically deleting uploaded files.
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".||To specify a log folder
When specifying an export folder
|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)|
|wildcard||Specify the target file with the wildcard specification.||* .log (It targets files whose ending is "log")|
|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.
You can temporarily disable the job.
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.Please read "Job Immediate Execution".