CA Workload Automation ESP Edition

Support of regular expressions with File Watcher jobs 

09-09-2015 03:04 AM

Regular expressions are supported with File Watcher jobs when the System Agent is at least at release:   R11.3 SP1 CUMULATIVE 2

 

For example on Linux, patch RO55416 ( LNX- X86 CA WA AGENT R11.3 SP1 CUMULATIVE 2 ) has to be installed (or higher patch number because there are cumulative patches

 

A typical Job might be:

 

insert_job: TEST_FW1 job_type: FW

machine: machine1

owner: autosys

permission: gx,wx,mx

date_conditions: 0

description: "FW test with regular expressions"

alarm_if_fail: 1

watch_file: "/apps/corgl/corgl_cs1/cs1/data1/fic/???_C[0-9,A-L,N-Z][0-9,A-Z]_*"

watch_interval: 60

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

12-20-2018 11:22 AM

This also works on Windows agents. Ensure that the agent parameter "filemon.filename.r7regex=true" is set in the agentparm.txt file. If you need to define it, understand that a recycle of the agent is required in order for it to take effect.

Related Entries and Links

No Related Resource entered.