Platform Server Log Deletion through Scheduler of MFTCC

Platform Server Log Deletion through Scheduler of MFTCC

book

Article ID: KB0079204

calendar_today

Updated On:

Products Versions
TIBCO Managed File Transfer Command Center 7.3.x and higher
TIBCO Managed File Transfer Platform Server for UNIX All

Description

Customers have a requirement to delete Platform Server log files using the Command Center scheduler.  The "Purge Log Files" Scheduler job of MFTCC will only delete the log files on MFTCC and MFTIS. However, there is no information available on how to delete Platform Server Log files through the Scheduler of MFTCC.

Issue/Introduction

Steps to delete the Platform Server logs (Windows & Unix) through Scheduler Job in MFTCC

Environment

Windows & Unix Platform

Resolution

There is a way to delete Platform Server logs files(Linux and Windows) through the scheduler of MFTCC. Below is a process with an example to achieve this. 

Steps to configure the Job:
Go to MFTCC > Scheduler > Jobs > Add Job.
Configure all the details like Job Name, Description etc. as per your requirement.
There is need to select JOB TYPE as “EXECUTE COMMAND”.
There is a option to assign this job to Batch Job if required.
On the Execute Command Section, select “On a Platform Server” to run the command on PS.
Select one of the users available on CC which will initiate/trigger this Job at “Run Command As”.
On “Full Path of Command” give the command to delete the log file older than X days on particular location. For Shell script, give path where the shell script is.
On “Platform Server Properties”, please select the PS on which this job will run. Give the server credentials to access that PS.
On “Scheduling Information” section, please configure it depending on your requirement, when & how you wanted it to run.

Note: A document with detailed steps is attached to this article. (Filename: 
PS_LogDeletion_MFTCC_Scheduler.docx ) 

Attachments

Platform Server Log Deletion through Scheduler of MFTCC get_app