How to schedule a file search

<< Click to Display Table of Contents >>

Navigation:  Using Scheduled TreeSize Tasks >

How to schedule a file search

Like the main module, the TreeSize File Search can also be scheduled as a task, that runs at certain times. The general approach to create such a task is to set up a search in the user interface and then selecting "Tools > Schedule current search" from the ribbon menu.

The following description shows an example configuration and demonstrates the different steps that are necessary to create your own, customized search task.

 

Step 1: Set up a search via user interface

The file search offers a vast variety of different options that can be customized to your specific use case. The first step in creating a task is to set up either one of the predefined search types, or to create a new custom search. Any combination of options, including the selection of multiple different searches, is possible.

 

Step 2: Execute the search and check the results

Once you have set up the search, it is best to execute it and validate that it returns the desired results. The more specific a search is, the more likely it is that you need to do a bit of tweaking to ensure that only the results are returned that match your given use case.

 

Step 3: Create a task with the current search settings

The final step is to open the schedule dialog, using the option "Tools > Schedule current search" from the ribbon menu. At this point, TreeSize will automatically take your current search parameters and create an option file that represents the search that was just set up. Under "Options", you can see that the file was automatically included to the task.

Please note: Any previous selection that was made in the "File operation" dialog, such as the creation of a log file, or the different "Move options" will be added to the options file as well. If you add any type of file operation to the task, it will use these settings as well.

After setting up the task with the desired schedule options and defining export or move operations, you can review the command line parameters under "Command Line". Here, you can also test the current task, copy its parameters to the clipboard, or create a batch file.

Once everything is set up, click "Save Task" and enter your credentials, to create a new task and add it to Windows' task library.