scheduled jobs implemented, after X days in settings we scan import, storage paths, and check the Bin for old files and actually delete them from the file system

This commit is contained in:
2022-01-13 13:27:55 +11:00
parent 592dcf546d
commit 10866c3147
4 changed files with 153 additions and 16 deletions

11
TODO
View File

@@ -1,4 +1,11 @@
## GENERAL
* only show say last week of jobs, or last 50? and archive the rest into an archived_jobs table
need scheduled jobs:
- [DONE] force scans of import/storage paths
- [DONE] delete old files from Recycle Bin
- need to archive jobs
* per file you could select an unknown face and add it as a ref img to an existing person, or make a new person and attach?
* when search, have a way to hide deleted files
@@ -52,10 +59,6 @@
*** Need to use thread-safe sessions per Thread, half-assed version did not work
* put nightly? job to scan import dir, clean out old recycle bin entries
* put weekly? job to scan storage dir
* put weekly? job to scan storage dir
Admin
-> do I want to have admin roles/users?
-> purge deleted files (and associated DB data) needs a dbox or privs