Hi
Carsten_Schmitz_7883May be incomplete, but here's what I know...
Files that should stay in the temp directory
- Agent logs [, traces if activated]
- Job reports, if configured to be stored locally.
Files that should not stay in the /temp directory
- Jobs whose reports' size exceed the limit set in UC_HOSTCHAR_DEFAULT > MAX_REPORT_SIZE/REPORT_BLKSIZE. Because these reports exceed the size limit they cannot be saved in the DB, and will stay in the /temp folder. More details inthis discussion.
Their naming convention is '
O<XXXXXXX>'.txt, where
'XXXXXXX' is a transcription of the RunID in letters. You can use
ALPHA2RUNNR script function to convert those characters to a RunID. More details in
this post.
- When a job is run on an agent, the Automation sends a 'compiled' set of actions to be performed on the host. '.Txt' (UNIX) / '.bat' (Windows) files will be created in the temp directory during the task's execution, and be deleted once the run has completed. Should the run fail then this temporary file may not be deleted.
Their naming convention is J
<XXXXXXX>.<bat/txt>
Just like for the reports <XXXXXXX> corresponds to the RunID.
Maintaining the 'temp' directory
Agents do not do automatically maintain the contents of their /temp directory, but you can run a clearing job / a file EVNT to perform this task. This was already discussed in
this topic.
Hope this helps.
Best regards,
Antoine