watchDirectory Help

Help Home
Creating New Tasks
Running Tasks
Task History

Plugins

Standard versus Pro
Version History

Search

Creating New Tasks

  1. Select the plugin to use
  2. Plugin Settings
  3. Directory to Watch
  4. Directories to Exclude
  5. Filter Events
  6. Monitoring Method
    • File Age monitoring
  7. Events
  8. Scheduler (Pro)
  9. Other
  10. Name and Description
  11. How to Run
  12. File Permissions



Free 30 day evaluation!
Standard version: $79 USD
Professional version: $149 USD
Buy Now!

 

German Helpfile

German Helpfile

French Helpfile

French Helpfile


Privacy Policy
Tip: get email when old files are detected

Send email for old files

Use the File Age monitoring method together with the Automatically Email plugin to receive email notifications for old files - Great for workflow!

Send an email to John for old files: "Did you forget to process this file?", and CC yourself and his colleague.

The File Age Monitoring Method

All monitoring methodsBack to All Monitoring Methods

The File Age monitoring method is only available in the Professional edition of watchDirectory.

The File Age monitoring method scans the directory for files that have reached a certain age. These files will trigger a new file event, so your task can react to it. For example, you can configure watchDirectory to automatically copy/move those old files to another location.

File Age Settings

Settings for the File Age monitoring method

Trigger for files older than...

Here you configure how "old" the file has to be before watchDirectory will run your task on it. You can select a number of minutes, hours or days.

Calculate age using...

Some file systems maintain multiple timestamps for each file. For example, NTFS records the date/time when a file is created, last modified and last accessed (read). WatchDirectory can calculate the age of a file using all these timestamps. You can also select the option to use the "highest" timestamp. When you select a timestamp that is not available on your filesystem, watchDirectory will automatically use the other timestamp.
Tip: remove your old files

Delete old files

Use the File Age monitoring method together with the Automatically Delete Files plugin to automatically remove old files.

Ideal to automatically remove old log files!
Last Accessed not accurate
To improve performance, Windows does not update the Last Accessed timestamp every time a file is accessed. Furthermore, the Administrator of your computer can disable the Last Accessed timestamps.


Creation date not accurate
Depending on how a file is created, its creation date may be newer than its last modified date. It is strongly advised to use the option "Calculate age using the latest of Creation/Modified".

Poll the directory every X minutes

Here you set how often the File Age monitoring method should check the directory for old files. If the directory should be checked once a day, you should enter 1440 here (24 hours * 60 minutes).

Remember triggered files

Tip: move your old files

Move old files

Use the File Age monitoring method together with the Automatically Sort Files or the Automatically Copy Files plugin to automatically move old files to another directory.
If the task you are configuring does not remove the file from the monitored directory, you should enable this option. If you don't let watchDirectory remember the triggered files, your task will be started multiple times for the same file (because the second time the directory is scanned, the file is even older than the first time).
The filenames are stored, together with their timestamp, in the history database of this task. When the timestamp of a file changes, the File Age monitor will trigger your task again. If the file is removed, the entry in the history database is removed as well.

Synch Timestamps

Sometimes networked filesystems report the file timestamps different than expected. This could cause watchDirectory to start your task too early (if the filesystem reports the file as too old) or too late. This button will open a window that allows you to "synchronize" these timestamps.


All monitoring methodsBack to All Monitoring Methods