bundlewrap/bundles/scansnap/metadata.py
Franziska Kunsmann 9e07af289e
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/scansnap: don't try to delete output directory
2021-05-19 06:35:18 +02:00

20 lines
504 B
Python

defaults = {
'apt': {
'packages': {
'sane-utils': {},
'scanbd': {},
'imagemagick': {},
'ocrmypdf': {},
'tesseract-ocr-deu': {},
},
},
'backups': {
'paths': {
'/src/scansnap',
},
},
'cron': {
# Automatically remove files which are older than 14 days
'scansnap_cleanup': '00 00 * * * root /usr/bin/find /srv/scansnap/ -mindepth 1 -mtime +14 -delete',
},
}