qertweek.blogg.se

Filewatcher service exit code 1
Filewatcher service exit code 1










filewatcher service exit code 1
  1. Filewatcher service exit code 1 full#
  2. Filewatcher service exit code 1 software#
  3. Filewatcher service exit code 1 windows#

This file is saved in the CONTROL-M/Agent proclog directory under the following name: U_CTMFW_.logīy default, logs in the proclog directory are retained for 3 days. If you want the File Watcher to detect network resources, configure the FileWatcher Service to run under a regular user account.įileWatcher Service Trace When running as a service, ctmfw generates an execution log file. Network Resources The FileWatcher service running under the local system account cannot detect network resources (files located on remote systems). INTERVAL 5 FROM_TIME 0001 MIN_SIZE 50 MIN_DETECT 5 WAIT_TIME 2 ON_FILEWATCH NONEXIST CREATE 10 3 1 THEN DO_CMD "BAD FILE WAS CREATED IN 1 MINUTE" DO_COND ON_2 0101 + ELSE DO_CMD "GOOD FILE WAS NOT CREATED IN 1 MINUTE" DO_CMD ctmshout -USER ECS -MESSAGE "Running the Filewatcher on default configuration!" END_ON

Filewatcher service exit code 1 full#

The variable is the full path name of a rule file containing the File Watcher rules. The configuration file must contain the following line: -input

Filewatcher service exit code 1 software#

NOTE BMC Software recommends that this default value not be changed. The default value for this key is \DATA\ctmfw.cfg

Filewatcher service exit code 1 windows#

The full path name to the ctmfw.cfg configuration file must be specified under the following Microsoft Windows registry key that is generated automatically by the installation script: HKEY_LOCAL_MACHINE\SOFTWARE\BMC Software\ CONTROL-M/FileWatcher\SYSPRM\File Watcher Configuration File NOTE The rull.dat file provided with CONTROL-M/Agent is a sample file and should be changed to reflect your requirements.ĬONTROL-M/Agent for UNIX and Microsoft Windows Administrator Guide

filewatcher service exit code 1

To change one or more rules, change the contents of the rull.dat file or specify the full path name of a different file. Usage as a service As a service, ctmfw takes its parameters (rules) during startup from the rull.dat file whose full path name is specified in \data\ctmfw.cfg.

filewatcher service exit code 1 filewatcher service exit code 1

The ctmfw utility can also be run from the command_line, or be invoked to detect either a single file or multiple files. DO actions can consist of adding or deleting conditions or executing a command.įor file creation, file size is ignored if a wildcard is specified as part of the filename unless the mon_size_wildcard parameter is set to Y.įor file deletion, ctmfw must first detect the existence of the file before it can detect its deletion. When the file reaches a specified minimum size and does not increase in size for a specified period of time, the File Watcher utility either completes with a status of OK or executes a specified DO action. ■įor a file transfer activity, when the file is detected, the job continues to monitor the size of the file. The process waits for the creation or deletion of specified files. The ctmfw utility runs as a process on a client computer. Successful completion of a file transfer activity creation of a file deletion of a fileĬtmfw can be used before activating a job or before performing a task (for example, sending a shout message or adding/deleting conditions) that is dependent upon creation or deletion of a file. Ctmfw utility (File Watcher) The ctmfw utility can be used to detect ■ ■ ■












Filewatcher service exit code 1