DFclearIncoming

DFclearIncoming — Clean out the fax receiving directory, processing all newly arrived faxes

Synopsis

DFclearIncoming

Description

DFclearIncoming uses DFinnotify.rpc to submit all unprocessed faxes in the DFdiscover received fax (incoming) directory to the defined incoming DFdiscover daemons.

Under normal circumstances, this command is not needed as DFdiscover automatically processes each incoming fax as receipt completes.

This command is also automatically invoked by the DFdiscover bootstrap procedure when the software is restarted to process any faxes that were received while DFdiscover was not operational.

If one or more incoming daemons are processing when DFclearIncoming is started, DFclearIncoming will wait until all of the daemons have exited. Then it will empty out the /opt/dfdiscover/work/.dfincoming_work file and submit for processing all of the faxes that appear in the DFdiscover incoming directory.

Options

None.

Exit Status

DFclearIncoming exits with one of the following statuses:

0

The command was successful.

Examples

Example 4.2. Clean out the incoming fax directory

# DFclearIncoming
1. Checking state of incoming daemons...
2. Checking /opt/dfdiscover/work/.dfincoming_work...
  2 stale incoming entries obsoleted
3. Checking /opt/dfdiscover/incoming...
  1 faxes awaiting processing.
  Processing fax00010.tif