Skip to content

Delete the Jobs Automatically


The seal-housekeeper service is responsible for deleting jobs automatically. It regularly searches the database for jobs in a specific state and triggers the removal if required.

Hint - AFTOUT and job-specific intervals

In PLOSSYS 5, jobs cannot be deleted right after printing (corresponding to AFTOUT in PLOSSYS netdome) and the deleting intervals cannot be set specific for a job at the moment.


With the following keys, you customize the behavior of the seal-housekeeper service:

  • HOUSEKEEPER_INTERVAL: Time interval after which the service is restarted

  • JOB_LIFETIME_CANCELED: Time interval after which a job with the Canceled status is deleted from the database

  • JOB_LIFETIME_ERROR: Time interval after which a job with the Error status is deleted from the database

    Hint - del24h.dat and DEL24H

    JOB_LIFETIME_ERROR corresponds to del24h.dat and the DEL24H parameter in PLOSSYS netdome.

  • JOB_LIFETIME_PAUSED: Time interval after which a job with the Paused status is deleted from the database

  • JOB_LIFETIME_PREPROCESSING: Time interval after which an order with the status Preprocessing is deleted from the database

  • JOB_LIFETIME_PROCESSED: Time interval after which a job with the Processed status is deleted from the database

  • JOB_LIFETIME_PROCESSING: Time interval after which a job with the status Processing is deleted from the database

  • JOB_LIFETIME_WAITING: Time interval after which a job waiting in a non-pickup queue is deleted from the database

  • JOB_LIFETIME_WAITING_PICKUP: Time interval after which a job waiting in a pickup queue is deleted from the database

  • JOB_LIFETIME_WAITPREPROCESSING: Time interval after which a job with the status Waitpreprocessing is deleted from the database

  • SWEEP_AGE: Time interval after which an incomplete job is regarded as incorrect and deleted from the database


Hint - defaults

The following defaults apply:

  • HOUSEKEEPER_INTERVAL: 1 hour

  • JOB_LIFETIME_CANCELED, JOB_LIFETIME_PROCESSED: after 24 hours

  • JOB_LIFETIME_ERROR, JOB_LIFETIME_PAUSED, JOB_LIFETIME_WAITING_PICKUP: after 3 days

  • JOB_LIFETIME_PREPROCESSING, JOB_LIFETIME_PROCESSING, JOB_LIFETIME_WAITING, JOB_LIFETIME_WAITPREPROCESSING: never

  • SWEEP_AGE: after 10 minutes


Example - setting JOB_LIFETIME_ERROR via PLOSSYS CLI

plossys config set JOB_LIFETIME_ERROR 2d --service housekeeper

Hint - no restart required

After changing a key, you do not have to restart anything due to the service will be restarted automatically whenever the configuration is changed.


Back to top