Auto archive items older than 90 days #193
No reviewers
Labels
No labels
bootcamp
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/lost-and-found!193
Loading…
Reference in a new issue
No description provided.
Delete branch "mli6/auto-archive-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Motivation/Context: In order to decrease the number of items stored in our database, we want to automatically archive items that have been on the page for more than 90 days.
Closes #177
Type of change
How Has This Been Tested?
Test Configuration:
Checklist:
@ -193,0 +221,4 @@}// Once a week, automatically archives all items older than 90 daysschedule("0 0 * * *", archiveOldItems);Maybe just set this to string "automatic" if archiver is string or null if archiver is an Object ID
I think this does every day at 12 am.
Do you mean
0 0 * * 0to mean at 12 am on every Sunday?Pull request closed