How do I create a data clean up job to delete old files (files older than 'x' days) on the server in 4.6?

asked 14 Nov '14, 16:03

Aditya's gravatar image

accept rate: 6%

To create this, please follow the instructions below -

  1. Navigate to Configure -> Settings
  2. Select the HouseKeeping tab on the left.
  3. Click on Schedule housekeeping job
  4. Select the 'Clean Files' task.
  5. Please input the following information -
  6. Folder - Input the folder path (say, /securonix/securonix_home/import/success)
  7. Filename - the exact filename can be entered or the filename pattern can be entered. To enter filename pattern (i.e for filenames starting with messages), enter filenamepattern followed by '.' (i.e. messages.)
  8. Include subfolders - Enable it to 'Yes' to recursively delete files from sub-folders
  9. Include Non empty files - Yes
  10. Remove all data from X days prior - 5 ( removes all files older than 5 days)
  11. Click Next
  12. Click Save and Run (Can be enabled as a scheduled job)

answered 14 Nov '14, 16:25

Aditya's gravatar image

accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14 Nov '14, 16:03

Seen: 859 times

Last updated: 14 Nov '14, 16:25