File Event using a link
search cancel

File Event using a link

book

Article ID: 187758

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Using a File Event that points to a soft link does not work when it is a file-to-file link.
 
A link to a directory does work as expected.

Environment

Release : 12.2

Component : Unix agent

Cause

The soft link does not contain or report the file properties like size 

Resolution

Workaround:
 
1. The file-to-file link can works, if it is a hard link. In the case of a hard link, the link does have all the properties as the file it points to. However, this is less useful because even if the target files is removed, the File Event is still validated.

2. A soft link to the directory that contains the file work and will serve its purpose in most cases.