Please enable JavaScript to view this site.

Navigation: Cobwebb Tools Menu

Work with Folder Housekeeping

Scroll Prev Top Next More

From version 6.2.76 of the Server software only. The Work with Folder Housekeeping [WRKFLRH] allows you to specify a list of Folders that you wish to housekeep. Once you have created an entry and set it to Online it will be processed by the FOLDERTIDY job that runs in the Cobwebb Job Scheduler (unless you have removed this entry). See Activating the Folder Housekeeping for details.

For each entry you can specify a Date Type to check against and a Days to Retain after which the files in the Folder will be selected for processing. We have also provided a command FLRTIDY to run the Folder Housekeeping over any specified folder is you need to add this to any in-house process.

Note: The Folder Housekeeping only runs at the root folder entries (i.e. not sub folders) and will only process *STMF files.

The Work with Folder Housekeeping can be found from the Cobwebb Tools Menu - Option 12.

Type in your choices and then press Enter, this will take you to a second screen. Highlighted entries are those that are Online. Each Online entry will be run the next time the FOLDERTIDY job is scheduled to run.

Position to

Enter the Output Queue Name where you wish to position the list and cursor.

Options

Select one of the following options:

1=Create

Allows you to create a new entry. This option is only valid on the top (entry) line of the display.

2=Revise

Use this option to revise an existing entry.

3=Copy

Copy an existing entry.

4=Delete

Delete an existing entry.

5=View

View the details of an existing entry.

7=Offline/Online

Toggle between Offline and Online for an existing entry. Entries which are Online will be highlighted.

9=Run

Run the selected entry.

Entries

Folder Path

The Folder path from which the files will be selected for deletion.

Date Type

The type of date for the file you wish to be used for comparison. M=Last Modified date, A=Last Accessed date and C=Last Status Changed date. If you right click on a file in your folder and select Properties you will see the different dates.

Retain Days

This option will allow you to specify how old a file needs to be before being included for deletion. Say you want to delete all files from the previous days output you would enter a 1 here and this would pick up any matching file of one day or older. Entering a 0 will not check the age of the file i.e delete ALL files. If you leave the default of 999 then nothing will happen unless you have files more than 999 days old.

Status

This entry displays the status of the entry. Online means that this folder will be monitored when the FOLDERTIDY runs in the Cobwebb Job Scheduler; Offline entries will not be monitored.

Function keys

F3=Exit

Exits the Work with Folder Housekeeping screen and returns to the Cobwebb Tools menu, without updating.

F5=Refresh

Refreshes the list of entries

F12=Previous

Exits the Work with Folder Housekeeping screen and returns to the Cobwebb Tools menu, without updating.

Page Up

Scrolls up through the list

Page Down

Scrolls down through the list