bundles/scansnap: cleanup old scans
This commit is contained in:
parent
0c0a8e6263
commit
c79b3f77c2
1 changed files with 4 additions and 0 deletions
|
@ -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',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue