| << Previous | Contents Index | Next >> |
The backups parameter, if specified, indicates how many times the file should be rotated, i.e. an existing file renamed to filename.1, filename.1 to filename.2 and so-on. backups can not be specified if filename contains strftime(3) arguments.
If file rotation is not performed and the output file already exists, the new report is appended to the existing file.
ipacc sets the following environment variables prior to launching the postprocessor:
| IPACC_OUTFILE | Output file name (only defined if file specified) |
| IPACC_SUMMARY | Name of summary block generating output |
| IPACC_STARTTIME | Start time of report, in time_t format |
| IPACC_ENDTIME | End time of report, in time_t format |
The postprocess-file shell-command statement runs the command shell-command after the output file has been closed. The command has a single parameter, the file name of the newly written output file.
Note that if no file statement has been specified, the file name will not be supplied, however the command will still be run; this could be used to provide an independent notification that a summary had been completed.
A postprocess or postprocess-file shell command that returns a non-zero return code will cause ipacc to abort the summary and retry it later.
| << Previous | Contents Index | Next >> |