Job output logging in Agent Spool directory for Windows

Document ID : KB000058368
Last Modified Date : 28/06/2018
Show Technical Document Details

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 :


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.

WAAE 11.3.6 Release on Linux 

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.


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