tfactl refreshconfig

Use the tfactl refreshconfig command to refresh and list Oracle Trace File Analyzer cron jobs.

Syntax

tfactl refreshconfig [cron|listcrons|modifycron|envrole]

Parameters

tfactl refreshconfig Command Parameters

ParameterDescription
cronRefreshes Oracle Trace File Analyzer cron jobs running in the background.
listcrons

Lists all Oracle Trace File Analyzer cron jobs.

For example:

AUTOSTART_CLIENT
AUTOSTART_CLIENT_ORATIER1
modifycronReloads the cron jobs with the configuration changes.
envroleSpecifies Oracle Trace File Analyzer configuration type.

Example tfactl refreshconfig cron

tfactl refreshconfig cron
refreshConfig() completed successfully.

Example tfactl refreshconfig listcrons

tfactl refreshconfig listcrons

TFA CRON item:
Name:     AUTOSTART_CLIENT
Command:  /opt/oracle.ahf/bin/orachk -usediscovery -syslog -tag autostart_client -readenvconfig -autorun_id AUTOSTART_CLIENT
Schedule: 3 3 * * 0

TFA CRON item:
Name:     AUTOSTART_CLIENT_ORATIER1
Command:  /opt/oracle.ahf/bin/orachk -usediscovery -profile oratier1 -syslog -dball -showpass -tag autostart_client_oratier1 -readenvconfig -autorun_id AUTOSTART_CLIENT_ORATIER1
Schedule: 3 2 * * 1,2,3,4,5,6

TFA CRON item:
Name:     id001
Command:  ahf analysis create --type insights --last 5m
Schedule: 0 3 * * 1

Example tfactl refreshconfig modifycron

# tfactl refreshconfig modifycron -enable true -id id001 -valid For all
modifycron() completed successfully.