Skip to content

Administrate the DPF Jobs


With DPF CLI you can administrate the DPF jobs, e.g. delete them.


Delete Jobs

This is how you delete all finished jobs from DPFDATA and the MongoDB database:

  1. Enter the following command a PowerShell:

    dpf clearjobs
        [-A]
        [-F]
        [--job <jobID>]
        [--status <status>]
        [--server <url>]
        [--insecure]
        [-V, --version]
        [-h, --help]
    

    The following parameters can be specified when deleting the jobs:

    • -A deletes all, even active jobs not yet processed.
    • -F suppresses the prompt for confirmation when deleting multiple jobs.
    • --job <jobID> deletes only the job with the job ID <jobID>.
    • --status <status> deletes only jobs with the given status.

      Available values: Enumeration

      • ERROR: Erroneous, finished jobs will be deleted.
      • SENDING: Pending jobs in sendback state will be deleted.
      • CANCELLED: Cancelled jobs will be deleted.
    • --server <url> specifies the DPF server and its port.

      Default: http://localhost:4304

    • --insecure accepts also an invalid https certificate from the server.

    • -V or --version displays the version of seal-dpf tool.
    • -h or --help displays the list of available options.

    For all jobs specified by the command, dpfclearjobs deletes the directories from DPFDATA. The job information for these jobs is deleted from the MongoDB database. If you have specified -A, this also pertains to active jobs.

    ??? Todo: neuer Screenshot!

    Screenshot showing the output of the dpf clearjobs command in a shell


Back to top