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

View File

@@ -23,6 +23,8 @@ ICON["Import"]="import"
ICON["Storage"]="db"
ICON["Bin"]="trash"
SECS_IN_A_DAY = 86400
# check where we are running, if laptop, then run web server and db on localhost
if hostname == "lappy":
PA_JOB_MANAGER_HOST="localhost"