WAAE: Job output logging in Agent Spool directory for Windows
search cancel

WAAE: Job output logging in Agent Spool directory for Windows

book

Article ID: 58368

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

   
 

Workload Automation AE (AutoSys Edition)

When a command job is defined without std_out_file clause in the job definition,
the output of command will be logged in the agent spool directory.

This may cause the agent file system to get full and causing agent to crash when the volume of the job output exceeds the disk capacity.

If the following parameter is already set in "agentparm.txt" file :

agent.spool.success.autocleanup=true

the spool cleanup will be activated only after the job is completed successfully.

While the disk space issue may occur while the job is still running. On the other hand, client may want to remove the standard output logging to the spool only for some jobs only.

Environment

WAAE 11.3.6 Release on Linux 

Resolution

System Agent will keep the standard output under the spool directory until the job is completed.



If you have some jobs for which you do not want to get the standard output logged into the spool directory, one possible solution is to set the std_out_file to /dev/null in your job definition.



Example:



insert_job: jobname
job_type: CMD
command: script12
machine: machineA
std_out_file: > NUL



This will allow to avoid getting the data logged in the spool directory