WIP(teams): draft of server literal-actual-cron script

This commit is contained in:
Sabe Jones
2021-06-03 10:34:01 -05:00
committed by SabreCat
parent d53813adc7
commit 85a9ea726c
3 changed files with 97 additions and 54 deletions

View File

@@ -144,6 +144,9 @@ export const schema = new Schema({
slug: { $type: String },
name: { $type: String },
}],
cron: {
lastProcessed: { $type: Date },
},
}, {
strict: true,
minimize: false, // So empty objects are returned