diff --git a/bundles/scansnap/metadata.py b/bundles/scansnap/metadata.py index 875b788..774fc34 100644 --- a/bundles/scansnap/metadata.py +++ b/bundles/scansnap/metadata.py @@ -13,4 +13,8 @@ defaults = { '/src/scansnap', }, }, + 'cron': { + # Automatically remove files which are older than 14 days + 'scansnap_cleanup': '00 00 * * * root /usr/bin/find /srv/scansnap/ -mtime +14 -delete', + }, }